Ticket #16746: django-webdav-reason-phrases.patch
File django-webdav-reason-phrases.patch, 1.1 KB (added by , 13 years ago) |
---|
-
django/core/handlers/wsgi.py
17 17 18 18 19 19 # See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html 20 # and http://tools.ietf.org/html/rfc4918#section-11 20 21 STATUS_CODE_TEXT = { 21 22 100: 'CONTINUE', 22 23 101: 'SWITCHING PROTOCOLS', … … 27 28 204: 'NO CONTENT', 28 29 205: 'RESET CONTENT', 29 30 206: 'PARTIAL CONTENT', 31 207: 'MULTI-STATUS', 30 32 300: 'MULTIPLE CHOICES', 31 33 301: 'MOVED PERMANENTLY', 32 34 302: 'FOUND', … … 53 55 415: 'UNSUPPORTED MEDIA TYPE', 54 56 416: 'REQUESTED RANGE NOT SATISFIABLE', 55 57 417: 'EXPECTATION FAILED', 58 422: 'UNPROCESSABLE ENTITY', 59 423: 'LOCKED', 60 424: 'FAILED DEPENDENCY', 56 61 500: 'INTERNAL SERVER ERROR', 57 62 501: 'NOT IMPLEMENTED', 58 63 502: 'BAD GATEWAY', 59 64 503: 'SERVICE UNAVAILABLE', 60 65 504: 'GATEWAY TIMEOUT', 61 66 505: 'HTTP VERSION NOT SUPPORTED', 67 507: 'INSUFFICIENT STORAGE' 62 68 } 63 69 64 70 class LimitedStream(object):