Skip to content

Commit

Permalink
Change the RFC we reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasa committed Feb 14, 2012
1 parent d7107c2 commit 80e29bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions requests/packages/oreos/monkeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 80e29bf

Please sign in to comment.