curl-library
HTTP PATCH Content-Length
From: Kunal Ekawde via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 1 Nov 2018 17:33:02 +0530
Date: Thu, 1 Nov 2018 17:33:02 +0530
Hi,
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
Thanks,
~Kunal
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-11-01