diff options
author | CA Meijer <[email protected]> | 2013-03-02 06:48:04 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-02-05 10:32:28 +0100 |
commit | 5e7c3147b25b96cf08c3083cbb32f18f955f6f0f (patch) | |
tree | 581dc9b9be0ca879589ec6cc3a48102010507a10 /README.bootstrap | |
parent | 3ec3fcf098df6d0c2895eb11eaeb45d041cbf605 (diff) | |
download | otp-5e7c3147b25b96cf08c3083cbb32f18f955f6f0f.tar.gz otp-5e7c3147b25b96cf08c3083cbb32f18f955f6f0f.tar.bz2 otp-5e7c3147b25b96cf08c3083cbb32f18f955f6f0f.zip |
Fix http_request:http_headers/1 to send content-length when length is zero
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".
Diffstat (limited to 'README.bootstrap')
0 files changed, 0 insertions, 0 deletions