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 facundobatista
Recipients facundobatista, gregory.p.smith, orsenthil, weijie90
Date 2008-08-16.19:30:06
SpamBayes Score 0.05952101
Marked as misclassified No
Message-id <1218915009.29.0.81060005455.issue2464@psf.upfronthosting.co.za>
In-reply-to
Content
Senthil:

Look at that URL that the server returned in the second redirect:

http://www.wikispaces.com?responseToken=ee3fca88a9b0dc865152d8a9e5b6138d

See that the "?" appears without a path between the host and it.

Check the item 3.2.2 in the RFC 2616, it says that a HTTP URL should be:

  http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]]

So, we should fix that URL that the server returned. Guess what: if we
put a "/" (as obligates the RFC), everything works ok.

The patch I attach here does that. All tests pass ok.

What do you think?
History
Date User Action Args
2008-08-16 19:30:09facundobatistasetrecipients: + facundobatista, gregory.p.smith, orsenthil, weijie90
2008-08-16 19:30:09facundobatistasetmessageid: <1218915009.29.0.81060005455.issue2464@psf.upfronthosting.co.za>
2008-08-16 19:30:08facundobatistalinkissue2464 messages
2008-08-16 19:30:07facundobatistacreate