From 08002282e84394cb86508c51f2d7adfd1ece6da4 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 8 May 2016 13:13:48 -0500 Subject: improve cookie parsing allows '/' to be within a cookie name removes deprecated cookie getter/setter fixes #1118 --- netlib/http/request.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'netlib/http/request.py') diff --git a/netlib/http/request.py b/netlib/http/request.py index 67aa17ce..a42150ff 100644 --- a/netlib/http/request.py +++ b/netlib/http/request.py @@ -343,14 +343,6 @@ class Request(Message): # Legacy - def get_cookies(self): # pragma: no cover - warnings.warn(".get_cookies is deprecated, use .cookies instead.", DeprecationWarning) - return self.cookies - - def set_cookies(self, odict): # pragma: no cover - warnings.warn(".set_cookies is deprecated, use .cookies instead.", DeprecationWarning) - self.cookies = odict - def get_query(self): # pragma: no cover warnings.warn(".get_query is deprecated, use .query instead.", DeprecationWarning) return self.query or ODict([]) -- cgit v1.2.3