消息 [132497]
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:51 | santoso.wijaya | 修改 | recipients:
+ santoso.wijaya, Ivan.Ivanenko |
| 2011-03-29 18:43:51 | santoso.wijaya | 修改 | messageid: <1301424231.7.0.797981287763.issue11703@psf.upfronthosting.co.za> |
| 2011-03-29 18:43:49 | santoso.wijaya | 链接 | issue11703 messages |
| 2011-03-29 18:43:49 | santoso.wijaya | 创建 | |
|