Staging: this is not the live site, pydocs.org.
Internet Protocols and Support
Add correct Cookie: header to request (urllib.request.Request object).
The Cookie2 header is also added unless policy.hide_cookie2 is true.
Changed in 3.3
- 3.3: request object needs origin_req_host attribute. Dependency on a deprecated method get_origin_req_host() has been removed.