mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix old urllib/urllib2/urlparse usage.
This commit is contained in:
parent
0f7ede4569
commit
029986af24
7 changed files with 42 additions and 39 deletions
|
@ -1305,7 +1305,7 @@ class CookieJar:
|
|||
return attrs
|
||||
|
||||
def add_cookie_header(self, request):
|
||||
"""Add correct Cookie: header to request (urllib2.Request object).
|
||||
"""Add correct Cookie: header to request (urllib.request.Request object).
|
||||
|
||||
The Cookie2 header is also added unless policy.hide_cookie2 is true.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue