On 2/18/2016 10:38 AM, Pierre Brico wrote:
My next question is: is it possible to intercept the HTTP header (probably with callback function) to remove the "secure" flag BEFORE libcurl process it?

It's not possible with any of the callbacks as far as I know. The debug, write and header callbacks if they are handling an incoming header line are called in Curl_http_readwrite_headers but after the line is parsed, and it's a copy not the original buffer (afaics).

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to