diff --git a/docs/topics/request-response.rst b/docs/topics/request-response.rst index 5d9ac79f6..a45ea6939 100644 --- a/docs/topics/request-response.rst +++ b/docs/topics/request-response.rst @@ -508,10 +508,10 @@ Response objects .. attribute:: Response.headers A dictionary-like object which contains the response headers. Values can - be accessed from the :class:`headers` object by using :meth:`get` to - return the first header value with the specified name or :meth:`getlist` - to return all header values with the specified name. For example, this - call will give you all cookies in the headers:: + be accessed using :meth:`get` to return the first header value with the + specified name or :meth:`getlist` to return all header values with the + specified name. For example, this call will give you all cookies in the + headers:: response.headers.getlist('Set-Cookie')