1
# -*- test-case-name: twisted.web2.test -*-
2
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
3
# See LICENSE for details.
11
NON_AUTHORITATIVE_INFORMATION = 203
18
MOVED_PERMANENTLY = 301
23
TEMPORARY_REDIRECT = 307
27
PAYMENT_REQUIRED = 402
32
PROXY_AUTH_REQUIRED = 407
37
PRECONDITION_FAILED = 412
38
REQUEST_ENTITY_TOO_LARGE = 413
39
REQUEST_URI_TOO_LONG = 414
40
UNSUPPORTED_MEDIA_TYPE = 415
41
REQUESTED_RANGE_NOT_SATISFIABLE = 416
42
EXPECTATION_FAILED = 417
43
UNPROCESSABLE_ENTITY = 422 # RFC 2518
44
LOCKED = 423 # RFC 2518
45
FAILED_DEPENDENCY = 424 # RFC 2518
47
INTERNAL_SERVER_ERROR = 500
50
SERVICE_UNAVAILABLE = 503
52
HTTP_VERSION_NOT_SUPPORTED = 505
53
INSUFFICIENT_STORAGE_SPACE = 507
59
SWITCHING: "Switching Protocols",
65
NON_AUTHORITATIVE_INFORMATION: "Non-Authoritative Information",
66
NO_CONTENT: "No Content",
67
RESET_CONTENT: "Reset Content.",
68
PARTIAL_CONTENT: "Partial Content",
69
MULTI_STATUS: "Multi-Status",
72
MULTIPLE_CHOICE: "Multiple Choices",
73
MOVED_PERMANENTLY: "Moved Permanently",
75
SEE_OTHER: "See Other",
76
NOT_MODIFIED: "Not Modified",
77
USE_PROXY: "Use Proxy",
79
TEMPORARY_REDIRECT: "Temporary Redirect",
82
BAD_REQUEST: "Bad Request",
83
UNAUTHORIZED: "Unauthorized",
84
PAYMENT_REQUIRED: "Payment Required",
85
FORBIDDEN: "Forbidden",
86
NOT_FOUND: "Not Found",
87
NOT_ALLOWED: "Method Not Allowed",
88
NOT_ACCEPTABLE: "Not Acceptable",
89
PROXY_AUTH_REQUIRED: "Proxy Authentication Required",
90
REQUEST_TIMEOUT: "Request Time-out",
93
LENGTH_REQUIRED: "Length Required",
94
PRECONDITION_FAILED: "Precondition Failed",
95
REQUEST_ENTITY_TOO_LARGE: "Request Entity Too Large",
96
REQUEST_URI_TOO_LONG: "Request-URI Too Long",
97
UNSUPPORTED_MEDIA_TYPE: "Unsupported Media Type",
98
REQUESTED_RANGE_NOT_SATISFIABLE: "Requested Range not satisfiable",
99
EXPECTATION_FAILED: "Expectation Failed",
100
UNPROCESSABLE_ENTITY: "Unprocessable Entity",
102
FAILED_DEPENDENCY: "Failed Dependency",
105
INTERNAL_SERVER_ERROR: "Internal Server Error",
106
NOT_IMPLEMENTED: "Not Implemented",
107
BAD_GATEWAY: "Bad Gateway",
108
SERVICE_UNAVAILABLE: "Service Unavailable",
109
GATEWAY_TIMEOUT: "Gateway Time-out",
110
HTTP_VERSION_NOT_SUPPORTED: "HTTP Version not supported",
111
INSUFFICIENT_STORAGE_SPACE: "Insufficient Storage Space",
112
NOT_EXTENDED: "Not Extended"
115
# No __all__ necessary -- everything is exported