aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test268
diff options
context:
space:
mode:
authorCédric Deltheil <cedric@moodstocks.com>2014-01-19 23:24:03 +0100
committerDaniel Stenberg <daniel@haxx.se>2014-01-20 12:50:51 +0100
commitafd288b28f2087fca1f9ae860a05e77750ef44a7 (patch)
tree9a00155266ed75f3d18e021e107bfea68020b1db /tests/data/test268
parent39f7e80a52c3b23b36015dcf0d3655af43a70f49 (diff)
HTTP POST: omit Content-Length if data size is unknown
This prevents sending a `Content-Length: -1` header, e.g this ocurred with the following combination: * standard HTTP POST (no chunked encoding), * user-defined read function set, * `CURLOPT_POSTFIELDSIZE(_LARGE)` NOT set. With this fix it now behaves like HTTP PUT.
Diffstat (limited to 'tests/data/test268')
0 files changed, 0 insertions, 0 deletions