diff --git a/src/servers/sapphire_api/client_http.hpp b/src/servers/sapphire_api/client_http.hpp index 74ea5f86..a03662fe 100644 --- a/src/servers/sapphire_api/client_http.hpp +++ b/src/servers/sapphire_api/client_http.hpp @@ -2,7 +2,6 @@ #define CLIENT_HTTP_HPP #include -#include #include #include @@ -52,7 +51,7 @@ namespace SimpleWeb { /// Set before calling request Config config; - std::shared_ptr request(const std::string& request_type, const std::string& path="/", boost::string_ref content="", + std::shared_ptr request(const std::string& request_type, const std::string& path="/", std::string_view content="", const std::map& header=std::map()) { auto corrected_path=path; if(corrected_path=="")