projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41517e2
)
Changed the "im_used" informational status code for the value given by IANA (226)
author
Philippe Ndiaye
<me@iamphinson.com>
Sat, 13 Jul 2013 07:55:50 +0000
(09:55 +0200)
committer
Philippe Ndiaye
<me@iamphinson.com>
Sat, 13 Jul 2013 07:55:50 +0000
(09:55 +0200)
See RFC 3229 at http://tools.ietf.org/html/rfc3229#section-10.4.1 and HTTP status codes at http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
requests/status_codes.py
patch
|
blob
|
history
diff --git
a/requests/status_codes.py
b/requests/status_codes.py
index de384865fc59374b18af4a8445d4ef916e3e0263..8992a37207bd346e77f821832d46472bbe27d030 100644
(file)
--- a/
requests/status_codes.py
+++ b/
requests/status_codes.py
@@
-18,7
+18,7
@@
_codes = {
205: ('reset_content', 'reset'),
206: ('partial_content', 'partial'),
207: ('multi_status', 'multiple_status', 'multi_stati', 'multiple_stati'),
- 2
08
: ('im_used',),
+ 2
26
: ('im_used',),
# Redirection.
300: ('multiple_choices',),