diff --git a/ixwebsocket/IXHttpClient.cpp b/ixwebsocket/IXHttpClient.cpp index 0afeb9c6..b72f3c95 100644 --- a/ixwebsocket/IXHttpClient.cpp +++ b/ixwebsocket/IXHttpClient.cpp @@ -98,7 +98,7 @@ namespace ix ss << "User-Agent: ixwebsocket" << "\r\n"; } - if (verb == kPost) + if (verb == kPost || verb == kPut) { ss << "Content-Length: " << body.size() << "\r\n";