From 2ec6aaff03f911d75dc2ca79f0dda3b8b3e59848 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 18 Oct 2018 06:42:26 -0700 Subject: [PATCH] docstrings --- responder/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/responder/models.py b/responder/models.py index 45656a5..050dec1 100644 --- a/responder/models.py +++ b/responder/models.py @@ -129,6 +129,7 @@ class Request: @property def cookies(self): + """The cookies sent in the Request, as a dictionary.""" cookies = RequestsCookieJar() cookie_header = self.headers.get("cookie", "") @@ -241,7 +242,7 @@ class Response: {} ) #: A Python dictionary of {Key: value}, representing the headers of the response. self.formats = formats - self.cookies = {} # req.cookies + self.cookies = {} #: The cookies set in the Response, as a dictionary @property async def body(self):