This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Grzegorz Sikorski
Recipients Grzegorz Sikorski, SilentGhost
Date 2016-10-12.10:27:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1476268033.66.0.251585050026.issue28378@psf.upfronthosting.co.za>
In-reply-to
Content
I was debugging this and found out that urllib2 works more-less correct. The only problem I would see is referring to the header by `res.headers['Set-Cookie']`, as it returns comma-separated string, which cannot be processed properly in case the cookie value includes the `,` (see attached example). IMO this should return a tuple instead of single string, but as I said is minor.

More issues I found with actual `requests` library, as it does not send cookies if the server response with 302 (redirect). Again, this may not be related to the urllib at all.
History
Date User Action Args
2016-10-12 10:27:13Grzegorz Sikorskisetrecipients: + Grzegorz Sikorski, SilentGhost
2016-10-12 10:27:13Grzegorz Sikorskisetmessageid: <1476268033.66.0.251585050026.issue28378@psf.upfronthosting.co.za>
2016-10-12 10:27:13Grzegorz Sikorskilinkissue28378 messages
2016-10-12 10:27:13Grzegorz Sikorskicreate