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 gregory.p.smith
Recipients gregory.p.smith, weijie90
Date 2008-03-29.03:13:37
SpamBayes Score 0.61989725
Marked as misclassified No
Message-id <1206760418.84.0.680657199949.issue2464@psf.upfronthosting.co.za>
In-reply-to
Content
The problem does not appear to have anything to do with SSL.  The
problem is that the chain of HTTP requests goes:

GET -> 302 -> 302 -> 301

On the final 301 urllib2's internal state is messed up such that by the
time its in the handle_error_302 method it believes the Location header
contains the following:

'http://www.wikispaces.com/\x00/?responseToken=481aec3249f429316459e01c00b7e522'

The \x00 and everything after it should not be there and is not there if
you look at what is sent over the socket itself.  The ?responseToken=xxx
value is leftover from the previous 302 response.  No idea where the
\x00 came from yet.  I'm debugging...
History
Date User Action Args
2008-03-29 03:13:39gregory.p.smithsetspambayes_score: 0.619897 -> 0.61989725
recipients: + gregory.p.smith, weijie90
2008-03-29 03:13:38gregory.p.smithsetspambayes_score: 0.619897 -> 0.619897
messageid: <1206760418.84.0.680657199949.issue2464@psf.upfronthosting.co.za>
2008-03-29 03:13:38gregory.p.smithlinkissue2464 messages
2008-03-29 03:13:37gregory.p.smithcreate