Update documentation regarding response headers.

This commit is contained in:
Allan Crooks
2017-09-12 23:13:03 +01:00
parent 5aef6e7583
commit 6dc3003f16
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -66,5 +66,9 @@
- ``Response.raise_for_status()`` now returns the response object for good responses
- Use ``HTTPHeaderDict`` for response headers, allowing easier access to
individual values when multiple response headers are sent using the same
header name.
.. _#2002: https://github.com/kennethreitz/requests/issues/2002
.. _#2631: https://github.com/kennethreitz/requests/issues/2631
+4
View File
@@ -418,6 +418,10 @@ represented in the dictionary within a single mapping, as per
of the message, by appending each subsequent field value to the combined
field value in order, separated by a comma.
If you do need to access each individual value sent with the same header, then
you can use the ``multiget`` method to get a sequence of all the values returned
for a particular header.
Cookies
-------