diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-06-09 13:59:26 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@corte.si> | 2016-06-09 13:59:26 +1200 |
commit | 9b0e31d312c169bed81364891f310e44fbcdcaaf (patch) | |
tree | 4a93a3fedd5c9f226b8b675e76301557ebee97c9 /netlib/http/response.py | |
parent | 90cb84b53629d0a8807b3a8992acc32dd93a9a63 (diff) | |
parent | c421c41307ce1ced06dae9f1d37fb516e6437f1e (diff) | |
download | mitmproxy-9b0e31d312c169bed81364891f310e44fbcdcaaf.tar.gz mitmproxy-9b0e31d312c169bed81364891f310e44fbcdcaaf.tar.bz2 mitmproxy-9b0e31d312c169bed81364891f310e44fbcdcaaf.zip |
Merge pull request #1232 from cortesi/odict
Remove odict
Diffstat (limited to 'netlib/http/response.py')
-rw-r--r-- | netlib/http/response.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/netlib/http/response.py b/netlib/http/response.py index 7dabfcab..17d69418 100644 --- a/netlib/http/response.py +++ b/netlib/http/response.py @@ -73,10 +73,11 @@ class Response(message.Message): def cookies(self): # type: () -> multidict.MultiDictView """ - The response cookies. A possibly empty :py:class:`~netlib.multidict.MultiDictView`, where the keys are - cookie name strings, and values are (value, attr) tuples. Value is a string, and attr is - an ODictCaseless containing cookie attributes. Within attrs, unary attributes (e.g. HTTPOnly) - are indicated by a Null value. + The response cookies. A possibly empty + :py:class:`~netlib.multidict.MultiDictView`, where the keys are cookie + name strings, and values are (value, attr) tuples. Value is a string, + and attr is an MultiDictView containing cookie attributes. Within + attrs, unary attributes (e.g. HTTPOnly) are indicated by a Null value. Caveats: Updating the attr |