cURL / Mailing Lists / curl-library / Single Mail


RE: Cookie Secure flag

From: Yehezkel Horowitz <>
Date: Wed, 9 Mar 2016 16:20:24 +0000

> 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?
You could just manage the cookies by yourself (instead of curl) and do whatever you want (even if not RFC compliant).
You could get the cookies from the server with “write header call back” [1] and set the cookies in future requests with CURLOPT_COOKIE [2].
Same could be done with curl tool (not libcurl)
Yehezkel Horowitz

List admin:
Received on 2016-03-09