From c421c41307ce1ced06dae9f1d37fb516e6437f1e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 9 Jun 2016 13:28:43 +1200 Subject: Remove odict - Adds default implementations for _kconv and _reduce_values to MultiDict. Without these, operations fail in really, really non-obvious ways. - Replace the remaining few instances of ODict Fixes #1159 --- netlib/http/response.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'netlib/http') 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 -- cgit v1.2.3