diff options
author | Isaac Boukris <iboukris@gmail.com> | 2017-02-03 14:30:26 +0200 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-02-17 02:32:16 -0500 |
commit | 13e3a18b345af1a15b892b0bbedfbbff06e10a39 (patch) | |
tree | 287181977e87aab9d983c6ed118d3d8d86cb146e /tests/certs/Server-localhost0h-sv.crt | |
parent | 3cc30e8207b5ab3a9a381c0ff3584d1af8dc54a1 (diff) |
http: fix missing 'Content-Length: 0' while negotiating auth
- While negotiating auth during PUT/POST if a user-specified
Content-Length header is set send 'Content-Length: 0'.
This is what we do already in HTTPREQ_POST_FORM and what we did in the
HTTPREQ_POST case (regression since afd288b).
Prior to this change no Content-Length header would be sent in such a
case.
Bug: https://curl.haxx.se/mail/lib-2017-02/0006.html
Reported-by: Dominik Hölzl
Closes https://github.com/curl/curl/pull/1242
Diffstat (limited to 'tests/certs/Server-localhost0h-sv.crt')
0 files changed, 0 insertions, 0 deletions