uses http 1.0 for soap traffic to dodge chunked transfer encodings

This commit is contained in:
Arvid Norberg 2008-10-14 08:07:27 +00:00
parent cac6132aae
commit c7b1977431
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ void upnp::post(upnp::rootdevice const& d, std::string const& soap
std::stringstream header; std::stringstream header;
header << "POST " << d.path << " HTTP/1.1\r\n" header << "POST " << d.path << " HTTP/1.0\r\n"
"Host: " << d.hostname << ":" << d.port << "\r\n" "Host: " << d.hostname << ":" << d.port << "\r\n"
"Content-Type: text/xml; charset=\"utf-8\"\r\n" "Content-Type: text/xml; charset=\"utf-8\"\r\n"
"Content-Length: " << soap.size() << "\r\n" "Content-Length: " << soap.size() << "\r\n"