MCPcopy
hub / github.com/aio-libs/aiohttp / cookies

Method cookies

aiohttp/web_reqrep.py:267–275  ·  view source on GitHub ↗

Return request cookies. A read-only dictionary-like object.

(self)

Source from the content-addressed store, hash-verified

265
266 @reify
267 def cookies(self):
268 """Return request cookies.
269
270 A read-only dictionary-like object.
271 """
272 raw = self.headers.get(hdrs.COOKIE, '')
273 parsed = http.cookies.SimpleCookie(raw)
274 return MappingProxyType(
275 {key: val.value for key, val in parsed.items()})
276
277 @property
278 def payload(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected