From d724a992b789983a9cdaceae13522214806f2c30 Mon Sep 17 00:00:00 2001 From: AICells <1713699517@qq.com> Date: Sat, 28 Dec 2019 19:50:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/httpCli/agHttpProtocol.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpCli/agHttpProtocol.erl b/src/httpCli/agHttpProtocol.erl index b0d5a5d..f75e3a6 100644 --- a/src/httpCli/agHttpProtocol.erl +++ b/src/httpCli/agHttpProtocol.erl @@ -30,7 +30,7 @@ binPatterns() -> request(Method, Host, Path, Headers, undefined) -> [ Method, <<" ">>, Path, <<" HTTP/1.1\r\nHost: ">>, Host, - <<"\r\nConnection: Keep-Alive\r\nUser-Agent: erlArango\r\n">>, + <<"\r\nConnection: Keep-Alive\r\nUser-Agent: erlArango\r\nContent-Length: 0\r\n">>, spellHeaders(Headers), <<"\r\n">> ]; request(Method, Host, Path, Headers, Body) ->