Package backend :: Package common :: Module apache
[hide private]
[frames] | no frames]

Source Code for Module backend.common.apache

 1  # 
 2  # Copyright (c) 2010--2015 Red Hat, Inc. 
 3  # 
 4  # This software is licensed to you under the GNU General Public License, 
 5  # version 2 (GPLv2). There is NO WARRANTY for this software, express or 
 6  # implied, including the implied warranties of MERCHANTABILITY or FITNESS 
 7  # FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 
 8  # along with this software; if not, see 
 9  # http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 
10  # 
11  # Red Hat trademarks are not licensed under GPLv2. No permission is 
12  # granted to use or replicate Red Hat trademarks that are incorporated 
13  # in this software or its documentation. 
14  # 
15  # 
16   
17  # constants meant to match the apache.py module of mod_python 
18   
19  HTTP_CONTINUE = 100 
20  HTTP_SWITCHING_PROTOCOLS = 101 
21  HTTP_PROCESSING = 102 
22  HTTP_OK = 200 
23  HTTP_CREATED = 201 
24  HTTP_ACCEPTED = 202 
25  HTTP_NON_AUTHORITATIVE = 203 
26  HTTP_NO_CONTENT = 204 
27  HTTP_RESET_CONTENT = 205 
28  HTTP_PARTIAL_CONTENT = 206 
29  HTTP_MULTI_STATUS = 207 
30  HTTP_MULTIPLE_CHOICES = 300 
31  HTTP_MOVED_PERMANENTLY = 301 
32  HTTP_MOVED_TEMPORARILY = 302 
33  HTTP_SEE_OTHER = 303 
34  HTTP_NOT_MODIFIED = 304 
35  HTTP_USE_PROXY = 305 
36  HTTP_TEMPORARY_REDIRECT = 307 
37  HTTP_BAD_REQUEST = 400 
38  HTTP_UNAUTHORIZED = 401 
39  HTTP_PAYMENT_REQUIRED = 402 
40  HTTP_FORBIDDEN = 403 
41  HTTP_NOT_FOUND = 404 
42  HTTP_METHOD_NOT_ALLOWED = 405 
43  HTTP_NOT_ACCEPTABLE = 406 
44  HTTP_PROXY_AUTHENTICATION_REQUIRED = 407 
45  HTTP_REQUEST_TIME_OUT = 408 
46  HTTP_CONFLICT = 409 
47  HTTP_GONE = 410 
48  HTTP_LENGTH_REQUIRED = 411 
49  HTTP_PRECONDITION_FAILED = 412 
50  HTTP_REQUEST_ENTITY_TOO_LARGE = 413 
51  HTTP_REQUEST_URI_TOO_LARGE = 414 
52  HTTP_UNSUPPORTED_MEDIA_TYPE = 415 
53  HTTP_RANGE_NOT_SATISFIABLE = 416 
54  HTTP_EXPECTATION_FAILED = 417 
55  HTTP_UNPROCESSABLE_ENTITY = 422 
56  HTTP_LOCKED = 423 
57  HTTP_FAILED_DEPENDENCY = 424 
58  HTTP_INTERNAL_SERVER_ERROR = 500 
59  HTTP_NOT_IMPLEMENTED = 501 
60  HTTP_BAD_GATEWAY = 502 
61  HTTP_SERVICE_UNAVAILABLE = 503 
62  HTTP_GATEWAY_TIME_OUT = 504 
63  HTTP_VERSION_NOT_SUPPORTED = 505 
64  HTTP_VARIANT_ALSO_VARIES = 506 
65  HTTP_INSUFFICIENT_STORAGE = 507 
66  HTTP_NOT_EXTENDED = 510 
67  REMOTE_DOUBLE_REV = 3 
68  OK = REQ_PROCEED = 0 
69  DONE = -2 
70  DECLINED = REQ_NOACTION = -1 
71