Skip to content

Commit

Permalink
Update docs on request cookies (#5725)
Browse files Browse the repository at this point in the history
* Update docs on request cookies

So it matches what is actually used in the code
See https://github.com/aio-libs/aiohttp/blob/63eb6ff550b2ba9f13cf5248980a4958e14a1af7/aiohttp/web_request.py#L565-L573

* Add docs reference for request.cookies type

(cherry picked from commit 4f48e3f)
  • Loading branch information
RasmusWL authored and Patchback committed May 25, 2021
1 parent 2e25d38 commit 41464fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES/5725.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed docs on request cookies type, so it matches what is actually used in the code (a
read-only dictionary-like object).
4 changes: 2 additions & 2 deletions docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,9 +227,9 @@ and :ref:`aiohttp-web-signals` handlers.

.. attribute:: cookies

A multidict of all request's cookies.
A read-only dictionary-like object containing the request's cookies.

Read-only :class:`~multidict.MultiDictProxy` lazy property.
Read-only :class:`~types.MappingProxyType` property.

.. attribute:: content

Expand Down

0 comments on commit 41464fc

Please sign in to comment.