homepage

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 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:51santoso.wijayasetrecipients: + santoso.wijaya, Ivan.Ivanenko
2011年03月29日 18:43:51santoso.wijayasetmessageid: <1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za>
2011年03月29日 18:43:49santoso.wijayalinkissue11703 messages
2011年03月29日 18:43:49santoso.wijayacreate

AltStyle によって変換されたページ (->オリジナル) /