Message139361
Issue8280 fixed an issue where the fragment was being sent to the server (and returned by get_selector).
Unfortunately the fix means that the "full" URL stored in the Request no longer includes the fragment either.
This is in contradiction to the documentation which states:
Request.get_full_url()
Return the URL given in the constructor.
Yet:
>>> import urllib2
>>> urllib2.Request("http://host/path#fragment").get_full_url()
'http://host/path'
The particular use case is a custom scheme handler, which should be able to use the whole of the opaque part of the URL to operate. Ie, our code wants to do something like this:
urllib2.Request("foo://opaquestring#opaquestring").get_full_url() |
|
Date |
User |
Action |
Args |
2011-06-28 13:37:28 | jonsiddle | set | recipients:
+ jonsiddle |
2011-06-28 13:37:28 | jonsiddle | set | messageid: <1309268248.69.0.295956213219.issue12431@psf.upfronthosting.co.za> |
2011-06-28 13:37:28 | jonsiddle | link | issue12431 messages |
2011-06-28 13:37:27 | jonsiddle | create | |
|