➜

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.

作者 santoso.wijaya
收信人 Ivan.Ivanenko, santoso.wijaya
日期 2011-03-29.18:43:48
SpamBayes Score 0.041029427
Marked as misclassified 否
Message-id <1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za>
In-reply-to
内容
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).
历史
日期 用户 动作 参数
2011-03-29 18:43:51santoso.wijaya修改recipients: + santoso.wijaya, Ivan.Ivanenko
2011-03-29 18:43:51santoso.wijaya修改messageid: <1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za>
2011-03-29 18:43:49santoso.wijaya链接issue11703 messages
2011-03-29 18:43:49santoso.wijaya创建