summaryrefslogtreecommitdiff
path: root/include/http_utility.hpp
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-07-11 04:16:31 +0300
committerEd Tanous <ed@tanous.net>2022-07-23 18:17:11 +0300
commitd5c80ad9c07b94465d8ea62d2b6f87c30cac765e (patch)
tree7400b044cbca9299807facb5ab61b333a585d1b7 /include/http_utility.hpp
parent0d7702c0246c5948caf12a3e441f74952c7d0ccf (diff)
downloadbmcweb-d5c80ad9c07b94465d8ea62d2b6f87c30cac765e.tar.xz
test treewide: iwyu
These changes are done by running iwyu manually under clang14. Suppressed some obvious impl or details headers. Kept the recommended public headers. IWYU can increase readability, make maintenance easier, and avoid errors in some cases. See details in https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/WhyIWYU.md. This commit also uses its best effort to correct obvious errors through iwyu pragma. See reference here: https://github.com/include-what-you-use/include-what-you-use#how-to-correct-iwyu-mistakes Tested: unit test passed. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I983b6f75601707cbb0f2f04546c3362ff4ba7fee
Diffstat (limited to 'include/http_utility.hpp')
-rw-r--r--include/http_utility.hpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/http_utility.hpp b/include/http_utility.hpp
index c150943f8f..46742a0ce6 100644
--- a/include/http_utility.hpp
+++ b/include/http_utility.hpp
@@ -1,8 +1,20 @@
#pragma once
-#include "http_request.hpp"
#include <boost/algorithm/string/classification.hpp>
+#include <boost/algorithm/string/constants.hpp>
#include <boost/algorithm/string/split.hpp>
+#include <boost/iterator/iterator_facade.hpp>
+#include <boost/type_index/type_index_facade.hpp>
+
+#include <cctype>
+#include <iomanip>
+#include <ostream>
+#include <string>
+#include <string_view>
+#include <vector>
+
+// IWYU pragma: no_include <ctype.h>
+// IWYU pragma: no_include <boost/algorithm/string/detail/classification.hpp>
namespace http_helpers
{