cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libCurl 7.20.0 behaviour when handling HTTP 302 responses

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Apr 2010 15:17:34 +0200 (CEST)

On Wed, 14 Apr 2010, Stefan Krause wrote:

>>> 3) My App: Send GET via Easy-Handle from step 1 to http://server/redirect.
>>> HERE: libcurl sends request to http://server/target ! NOT to
>>> http://server/redirect as expected !
>
> In step 3 above, I issued a second GET request to http://server/redirect
> (that is what I understand is the Request-URI).

Oh yes you did and somehow I missed that. Sorry.

I can't explain that behavior as libcurl has no such concept built-in. Can you
provide the code for a little tool that repeats this behavior?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-14