0001 """Constants needed by ISAPI filters and extensions.""" 0002 # ====================================================================== 0003 # Copyright 2002-2003 by Blackdog Software Pty Ltd. 0004 # 0005 # All Rights Reserved 0006 # 0007 # Permission to use, copy, modify, and distribute this software and 0008 # its documentation for any purpose and without fee is hereby 0009 # granted, provided that the above copyright notice appear in all 0010 # copies and that both that copyright notice and this permission 0011 # notice appear in supporting documentation, and that the name of 0012 # Blackdog Software not be used in advertising or publicity pertaining to 0013 # distribution of the software without specific, written prior 0014 # permission. 0015 # 0016 # BLACKDOG SOFTWARE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 0017 # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 0018 # NO EVENT SHALL BLACKDOG SOFTWARE BE LIABLE FOR ANY SPECIAL, INDIRECT OR 0019 # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 0020 # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 0021 # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 0022 # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 0023 # ====================================================================== 0024 0025 # HTTP reply codes 0026 0027 HTTP_CONTINUE = 100 0028 HTTP_SWITCHING_PROTOCOLS = 101 0029 HTTP_PROCESSING = 102 0030 HTTP_OK = 200 0031 HTTP_CREATED = 201 0032 HTTP_ACCEPTED = 202 0033 HTTP_NON_AUTHORITATIVE = 203 0034 HTTP_NO_CONTENT = 204 0035 HTTP_RESET_CONTENT = 205 0036 HTTP_PARTIAL_CONTENT = 206 0037 HTTP_MULTI_STATUS = 207 0038 HTTP_MULTIPLE_CHOICES = 300 0039 HTTP_MOVED_PERMANENTLY = 301 0040 HTTP_MOVED_TEMPORARILY = 302 0041 HTTP_SEE_OTHER = 303 0042 HTTP_NOT_MODIFIED = 304 0043 HTTP_USE_PROXY = 305 0044 HTTP_TEMPORARY_REDIRECT = 307 0045 HTTP_BAD_REQUEST = 400 0046 HTTP_UNAUTHORIZED = 401 0047 HTTP_PAYMENT_REQUIRED = 402 0048 HTTP_FORBIDDEN = 403 0049 HTTP_NOT_FOUND = 404 0050 HTTP_METHOD_NOT_ALLOWED = 405 0051 HTTP_NOT_ACCEPTABLE = 406 0052 HTTP_PROXY_AUTHENTICATION_REQUIRED= 407 0053 HTTP_REQUEST_TIME_OUT = 408 0054 HTTP_CONFLICT = 409 0055 HTTP_GONE = 410 0056 HTTP_LENGTH_REQUIRED = 411 0057 HTTP_PRECONDITION_FAILED = 412 0058 HTTP_REQUEST_ENTITY_TOO_LARGE = 413 0059 HTTP_REQUEST_URI_TOO_LARGE = 414 0060 HTTP_UNSUPPORTED_MEDIA_TYPE = 415 0061 HTTP_RANGE_NOT_SATISFIABLE = 416 0062 HTTP_EXPECTATION_FAILED = 417 0063 HTTP_UNPROCESSABLE_ENTITY = 422 0064 HTTP_INTERNAL_SERVER_ERROR = 500 0065 HTTP_NOT_IMPLEMENTED = 501 0066 HTTP_BAD_GATEWAY = 502 0067 HTTP_SERVICE_UNAVAILABLE = 503 0068 HTTP_GATEWAY_TIME_OUT = 504 0069 HTTP_VERSION_NOT_SUPPORTED = 505 0070 HTTP_VARIANT_ALSO_VARIES = 506 0071 0072 HSE_STATUS_SUCCESS = 1 0073 HSE_STATUS_SUCCESS_AND_KEEP_CONN = 2 0074 HSE_STATUS_PENDING = 3 0075 HSE_STATUS_ERROR = 4 0076 0077 SF_NOTIFY_SECURE_PORT = 0x00000001 0078 SF_NOTIFY_NONSECURE_PORT = 0x00000002 0079 SF_NOTIFY_READ_RAW_DATA = 0x00008000 0080 SF_NOTIFY_PREPROC_HEADERS = 0x00004000 0081 SF_NOTIFY_AUTHENTICATION = 0x00002000 0082 SF_NOTIFY_URL_MAP = 0x00001000 0083 SF_NOTIFY_ACCESS_DENIED = 0x00000800 0084 SF_NOTIFY_SEND_RESPONSE = 0x00000040 0085 SF_NOTIFY_SEND_RAW_DATA = 0x00000400 0086 SF_NOTIFY_LOG = 0x00000200 0087 SF_NOTIFY_END_OF_REQUEST = 0x00000080 0088 SF_NOTIFY_END_OF_NET_SESSION = 0x00000100 0089 0090 SF_NOTIFY_ORDER_HIGH = 0x00080000 0091 SF_NOTIFY_ORDER_MEDIUM = 0x00040000 0092 SF_NOTIFY_ORDER_LOW = 0x00020000 0093 SF_NOTIFY_ORDER_DEFAULT = SF_NOTIFY_ORDER_LOW 0094 0095 SF_NOTIFY_ORDER_MASK = (SF_NOTIFY_ORDER_HIGH | \ 0096 SF_NOTIFY_ORDER_MEDIUM | \ 0097 SF_NOTIFY_ORDER_LOW) 0098 0099 SF_STATUS_REQ_FINISHED = 134217728 # 0x8000000 0100 SF_STATUS_REQ_FINISHED_KEEP_CONN = 134217728 + 1 0101 SF_STATUS_REQ_NEXT_NOTIFICATION = 134217728 + 2 0102 SF_STATUS_REQ_HANDLED_NOTIFICATION = 134217728 + 3 0103 SF_STATUS_REQ_ERROR = 134217728 + 4 0104 SF_STATUS_REQ_READ_NEXT = 134217728 + 5 0105
Generated by PyXR 0.9.4