@@ -160,11 +160,10 @@ contained :class:`Cookie` objects.
160
160
respectively), the :mailheader: `Cookie2 ` header is also added when appropriate.
161
161
162
162
The *request * object (usually a :class: `urllib.request.Request ` instance)
163
- must support the methods :meth: `get_full_url `, :meth: `get_host `,
164
- :meth: `get_type `, :meth: `unverifiable `, :meth: `has_header `,
163
+ must support the methods :meth: `get_full_url `, :meth: `has_header `,
165
164
:meth: `get_header `, :meth: `header_items `, :meth: `add_unredirected_header `
166
- and :attr: `origin_req_host ` attribute as documented by
167
- :mod: `urllib.request `.
165
+ and the attributes :attr: `host `, :attr: ` !type `, :attr: ` unverifiable `
166
+ and :attr: ` origin_req_host ` as documented by :mod: `urllib.request `.
168
167
169
168
.. versionchanged :: 3.3
170
169
@@ -186,11 +185,11 @@ contained :class:`Cookie` objects.
186
185
method, which returns an :class: `email.message.Message ` instance.
187
186
188
187
The *request * object (usually a :class: `urllib.request.Request ` instance)
189
- must support the methods :meth: `get_full_url `, :meth: ` get_host `,
190
- :meth: ` unverifiable `, and :attr: `origin_req_host ` attribute, as documented
191
- by :mod: `urllib.request `. The request is used to set default values for
192
- cookie-attributes as well as for checking that the cookie is allowed to be
193
- set.
188
+ must support the method :meth: `get_full_url ` and the attributes
189
+ :attr: ` host `, :attr: ` unverifiable ` and :attr: `origin_req_host `,
190
+ as documented by :mod: `urllib.request `. The request is used to set
191
+ default values for cookie-attributes as well as for checking that the
192
+ cookie is allowed to be set.
194
193
195
194
.. versionchanged :: 3.3
196
195
0 commit comments