Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Pycurl follow redirects and extentions
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-and-python <curl-and-python_at_cool.haxx.se>
Date: Wed, 9 Dec 2020 09:08:03 +0100 (CET)
On Mon, 7 Dec 2020, Feilpe Restrepo via curl-and-python wrote:
> I think this is not really usual, but it's possible, so I want to avoid a
> redirect to that type of content.
If the automatic redirect following isn't your cup of tea, then the advice is
to do them yourself instead and then with any additional logic you see fit.
The CURLINFO_REDIRECT_URL variable was introduced to help users do that.
Date: Wed, 9 Dec 2020 09:08:03 +0100 (CET)
On Mon, 7 Dec 2020, Feilpe Restrepo via curl-and-python wrote:
> I think this is not really usual, but it's possible, so I want to avoid a
> redirect to that type of content.
If the automatic redirect following isn't your cup of tea, then the advice is
to do them yourself instead and then with any additional logic you see fit.
The CURLINFO_REDIRECT_URL variable was introduced to help users do that.
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://www.wolfssl.com/contact/ _______________________________________________ https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-pythonReceived on 2020-12-09