From: Cory Benfield Date: Tue, 14 Feb 2012 14:11:25 +0000 (+0000) Subject: Change the RFC we reference. X-Git-Tag: v0.10.2~19^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80e29bfcab15a7e4ed3c10a013bd80010f9ea071;p=services%2Fpython-requests.git Change the RFC we reference. --- diff --git a/requests/packages/oreos/monkeys.py b/requests/packages/oreos/monkeys.py index 830e900..9f9a9c7 100644 --- a/requests/packages/oreos/monkeys.py +++ b/requests/packages/oreos/monkeys.py @@ -249,13 +249,13 @@ class CookieError(Exception): # quoted with a preceeding '\' slash. # # These are taken from RFC2068 and RFC2109. -# _RFC2068Forbidden is the list of forbidden chars we accept anyway +# _RFC2965Forbidden is the list of forbidden chars we accept anyway # _LegalChars is the list of chars which don't require "'s # _Translator hash-table for fast quoting # -_RFC2068Forbidden = "[]:{}" +_RFC2965Forbidden = "[]:{}" _LegalChars = ( string.ascii_letters + string.digits + - "!#$%&'*+-.^_`|~_" + _RFC2068Forbidden ) + "!#$%&'*+-.^_`|~_" + _RFC2965Forbidden ) _Translator = { '\000' : '\\000', '\001' : '\\001', '\002' : '\\002', '\003' : '\\003', '\004' : '\\004', '\005' : '\\005',