cURL / Mailing Lists / curl-library / Single Mail



From: pepone.onrez <>
Date: Tue, 29 May 2007 18:18:14 +0200

i using curl-7.15.1

How can a writeHeaderCallback can separate Headers from diferent
request when CURLOPT_FOLLOWLOCATION is set to follow any redirect.

what i view is that my writeHeaderCallback is called for all the
redirets it follow and i don't see how get only the headers of the
last request.

There is a diferent request Id that i can use in my
writeHeaderCallback to detect if the header beyong to the original
request or to the redirect.

Received on 2007-05-29