Message132497
| Author |
santoso.wijaya |
| Recipients |
Ivan.Ivanenko, santoso.wijaya |
| Date |
2011年03月29日.18:43:48 |
| SpamBayes Score |
0.041029427 |
| Marked as misclassified |
No |
| Message-id |
<1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is because the Request class' constructor splits the URL into __original and fragment:
def __init__(self, url, data=None, headers={},
origin_req_host=None, unverifiable=False):
# unwrap('<URL:type://host/path>') --> 'type://host/path'
self.__original = unwrap(url)
self.__original, fragment = splittag(self.__original)
And the construction of object that urlopen() returns has its geturl() returns the request object's __original field (by now, minus the fragment). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年03月29日 18:43:51 | santoso.wijaya | set | recipients:
+ santoso.wijaya, Ivan.Ivanenko |
| 2011年03月29日 18:43:51 | santoso.wijaya | set | messageid: <1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za> |
| 2011年03月29日 18:43:49 | santoso.wijaya | link | issue11703 messages |
| 2011年03月29日 18:43:49 | santoso.wijaya | create |
|