curl / Mailing Lists / curl-library / Single Mail


HTTP PATCH Content-Length

From: Kunal Ekawde via curl-library <>
Date: Thu, 1 Nov 2018 17:33:02 +0530


Im using libcurl http 1.1 and request goes via proxy (Istio), observation
is that only incase of PATCH, the content length is set to 0. If
application sets it, PATCH itself is not sent out. If not set from app,
seems like its going as 0(server receives the headers only no data), this
behavior is same for data size < or > 1024 and non chucked / chunked data.
For POST, by setting POSTFIELDSIZE it works, I tried this and INFILESIZE
also for PATCH.

Any pointers would be helpful


Received on 2018-11-01