Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cpython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sip
Cpython
Commits
d29e279d
Unverified
Commit
d29e279d
authored
Aug 1, 2022
by
markus-sus
Committed by
GitHub
Aug 1, 2022
Browse files
Options
Downloads
Patches
Plain Diff
bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112)
parent
0f17a754
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Doc/library/http.cookiejar.rst
+8
-9
8 additions, 9 deletions
Doc/library/http.cookiejar.rst
with
8 additions
and
9 deletions
Doc/library/http.cookiejar.rst
+
8
−
9
View file @
d29e279d
...
@@ -160,11 +160,10 @@ contained :class:`Cookie` objects.
...
@@ -160,11 +160,10 @@ contained :class:`Cookie` objects.
respectively), the :mailheader:`Cookie2` header is also added when appropriate.
respectively), the :mailheader:`Cookie2` header is also added when appropriate.
The *request* object (usually a :class:`urllib.request.Request` instance)
The *request* object (usually a :class:`urllib.request.Request` instance)
must support the methods :meth:`get_full_url`, :meth:`get_host`,
must support the methods :meth:`get_full_url`, :meth:`has_header`,
:meth:`get_type`, :meth:`unverifiable`, :meth:`has_header`,
:meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header`
:meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header`
and
:attr:`origin_req_
host`
attr
ibute as documented by
and
the attributes :attr:`
host`
, :
attr
:`!type`, :attr:`unverifiable`
:mod:`urllib.request`.
and :attr:`origin_req_host` as documented by
:mod:`urllib.request`.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
...
@@ -186,11 +185,11 @@ contained :class:`Cookie` objects.
...
@@ -186,11 +185,11 @@ contained :class:`Cookie` objects.
method, which returns an :class:`email.message.Message` instance.
method, which returns an :class:`email.message.Message` instance.
The *request* object (usually a :class:`urllib.request.Request` instance)
The *request* object (usually a :class:`urllib.request.Request` instance)
must support the method
s
:meth:`get_full_url`
, :meth:`get_host`,
must support the method :meth:`get_full_url`
and the attributes
:
meth
:`unverifiable`
,
and :attr:`origin_req_host`
attribute, as documented
:
attr:`host`, :attr
:`unverifiable` and :attr:`origin_req_host`
,
by :mod:`urllib.request`. The request is used to set
default values for
as documented
by :mod:`urllib.request`. The request is used to set
cookie-attributes as well as for checking that the
cookie is allowed to be
default values for
cookie-attributes as well as for checking that the
set.
cookie is allowed to be
set.
.. versionchanged:: 3.3
.. versionchanged:: 3.3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment