From c7b197743121eca030e90fc3f1bc02d5f24f99b8 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 14 Oct 2008 08:07:27 +0000 Subject: [PATCH] uses http 1.0 for soap traffic to dodge chunked transfer encodings --- src/upnp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upnp.cpp b/src/upnp.cpp index ce5d54421..baac6ca4f 100644 --- a/src/upnp.cpp +++ b/src/upnp.cpp @@ -560,7 +560,7 @@ void upnp::post(upnp::rootdevice const& d, std::string const& soap 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" "Content-Type: text/xml; charset=\"utf-8\"\r\n" "Content-Length: " << soap.size() << "\r\n"