aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_lib/http_request.erl
AgeCommit message (Collapse)Author
2014-02-05inets: Remove log message as it causes more harm than use at the momentIngela Anderton Andin
Conflicts: lib/inets/src/http_lib/http_request.erl
2014-02-05Fix http_request:http_headers/1 to send content-length when length is zeroCA Meijer
In R16B01, the http_request:http_headers/1 function removes the content-length field from the HTTP headers if the content length is zero. This results in some (perhaps many) HTTP servers rejecting POSTs and PUTs without data with a 411 status word. From RFC2616, section 14.13: "Any Content-Length greater than or EQUAL to zero is a valid value".
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP