cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl handling 403;4 redirection

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 25 Nov 2010 09:34:10 -0600

On Thu, Nov 25, 2010 at 9:11 AM, Chris Hatko wrote:

>  I'm accessing an http page which the server redirect to an https page.
> This is done via a 403:4 error page which contains custom javascript
> code to do the redirection (via window.location). This work in all major
> browser, but only loads 403;4 page in curl and does not redirect.
> I've tried several options from the curl command line but nothing
> seems to work. Ideally i need to have this working in libcurl. Any ideas?

Libcurl does not understand HTML or JavaScript.

If you need these features, it is up to your application
(or some additional library) to implement them.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-11-25