From a35cbdfb7c22dd087ffc7c7e3b717809f6de75bd Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Mon, 3 Jun 2019 21:12:39 -0700 Subject: [PATCH] http / PUT fix :shell: --- ixwebsocket/IXHttpClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";