@@ -160,11 +160,10 @@ contained :class:`Cookie` objects.
160160 respectively), the :mailheader: `Cookie2 ` header is also added when appropriate.
161161
162162 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 `,
165164 :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 `.
168167
169168 .. versionchanged :: 3.3
170169
@@ -186,11 +185,11 @@ contained :class:`Cookie` objects.
186185 method, which returns an :class: `email.message.Message ` instance.
187186
188187 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.
194193
195194 .. versionchanged :: 3.3
196195
0 commit comments