Refine the handling of content and content length.

This commit is contained in:
Adam Gu
2018-07-10 17:25:17 +08:00
parent 9b35d0f06c
commit 9bf4bc3f4b
12 changed files with 38 additions and 79 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const std::string kContentLength = "Content-Length";
const std::string kSoapAction = "SOAPAction";
#endif // WEBCC_ENABLE_SOAP
const std::string kTextJsonUtf8 = "text/json; charset=utf-8";
const std::string kAppJsonUtf8 = "application/json; charset=utf-8";
#ifdef WEBCC_ENABLE_SOAP
// According to www.w3.org when placing SOAP messages in HTTP bodies, the HTTP