Skip to content
Snippets Groups Projects
user avatar
Cédric Deltheil authored
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.
afd288b2
History
Name Last commit Last update