cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: following server redirections

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 22 Jun 2005 12:44:24 +0200 (CEST)

On Wed, 22 Jun 2005, C.Alvarez wrote:

> OK so if I understand,
> - 301 or 302 returns are OK for curl

Yes, if a Location: is received as well. Again: this is how HTTP redirects are
made. There is no other HTTP way.

> - meta refresh must be parsed

That is HTML, not HTTP.

> - About URL rewriting ? I wasn't able to test that, how should this be
> handled (Can curl handle it ) ?

HTTP has no "URL rewriting" so whatever you mean by that (I assume you're
talking about javascript or similar), libcurl cannot deal with it.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-06-22