[Tutor] retrieving httponly cookies on accessing webpage with urllib2
Kent Johnson
kent37 at tds.net
Sat Oct 18 21:43:45 CEST 2008
On Sat, Oct 18, 2008 at 1:32 PM, Kent Johnson <kent37 at tds.net> wrote:
>> For the headers, I did verify that it sent the headers as I had formed them
>> (just not in the right order) with wireshark. So my method does work, I also
>> got this method from here:
>> http://www.voidspace.org.uk/python/articles/urllib2.shtml#headers
>
> OK. I have definitely had trouble with that in the past but maybe it
> is fixed now.
I guess I have been using urllib2 for a while, this bug was fixed in 2002 :-)
http://bugs.python.org/issue599836
Kent
More information about the Tutor
mailing list