From 99204ec73dd59d310f55e0c38e5e898479455fa8 Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 6 Jan 2016 11:58:11 +0100 Subject: [PATCH] content parameter in Client::request is now of type std::iostream --- client_http.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=="")