diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-17 01:43:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-17 01:43:55 (GMT) |
commit | bd341629b0435a524f9f355de178af22cc6d31ea (patch) | |
tree | ff3d75e4c8c1c9973fc39c5057dd1d2ff751940a /Lib/http | |
parent | f716d8b7a53ee2ed3b6dc42f7f6b00ac211209d8 (diff) | |
download | cpython-bd341629b0435a524f9f355de178af22cc6d31ea.zip cpython-bd341629b0435a524f9f355de178af22cc6d31ea.tar.gz cpython-bd341629b0435a524f9f355de178af22cc6d31ea.tar.bz2 |
capitialize "HttpOnly" and "Secure" as they appear in the standard and other impls (closes #23250)
Patch by Jon Dufresne.
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/cookies.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/http/cookies.py b/Lib/http/cookies.py index a6de6d5..3e1abd7 100644 --- a/Lib/http/cookies.py +++ b/Lib/http/cookies.py @@ -330,8 +330,8 @@ class Morsel(dict): "comment" : "Comment", "domain" : "Domain", "max-age" : "Max-Age", - "secure" : "secure", - "httponly" : "httponly", + "secure" : "Secure", + "httponly" : "HttpOnly", "version" : "Version", } |