Skip to content

Commit 4e819c4

Browse files
committed
Removing unnecssary Content-Length header on requests without a body.
1 parent e800120 commit 4e819c4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Release/src/http/client/http_linux.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,6 @@ namespace web { namespace http
398398
else
399399
{
400400
has_body = false;
401-
extra_headers.append(header_names::content_length);
402-
extra_headers.append(":0" + CRLF);
403401
}
404402
}
405403

0 commit comments

Comments
 (0)