urllib2: disable HTTPRedirectHandler
Achim Domma
achim.domma at syynx.de
Thu Oct 31 09:46:02 EST 2002
More information about the Python-list mailing list
Thu Oct 31 09:46:02 EST 2002
- Previous message (by thread): Asking a user for the root password and executing root only commands...
- Next message (by thread): Dictionary Enhancement?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, I don't want urllib2 to handle 302 and 301 automaticaly. I want to get return code (302 or 301) and the sended headers. My intension is to build a proxy between a browser and the server to monitor the headers passed around. As far as I understand I only have to remove the HTTPRedirectHandler, but how and where do I have to do that? greetings Achim
- Previous message (by thread): Asking a user for the root password and executing root only commands...
- Next message (by thread): Dictionary Enhancement?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list