diff --git a/client_http.hpp b/client_http.hpp index 6c7e269..32c5d14 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -33,7 +33,7 @@ namespace SimpleWeb { return request(request_type, path, empty_ss, header); } - std::shared_ptr request(const std::string& request_type, const std::string& path, std::ostream& content, + std::shared_ptr request(const std::string& request_type, const std::string& path, std::iostream& content, const std::map& header=std::map()) { std::string corrected_path=path; if(corrected_path=="")