Re: CURLOPT_FOLLOWLOCATION question
Date: Tue, 29 May 2007 10:38:13 -0600
On May 29, 2007, at 10:18 AM, pepone.onrez wrote:
> How can a writeHeaderCallback can separate Headers from diferent
> request when CURLOPT_FOLLOWLOCATION is set to follow any redirect.
I tackled this problem by watching for a second occurrence of "HTTP/"
in the headers callback. If this happens, then it's likely that a
redirect has occurred...
Received on 2007-05-29