Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

isapicon.py 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. """Constants needed by ISAPI filters and extensions."""
  2. # ======================================================================
  3. # Copyright 2002-2003 by Blackdog Software Pty Ltd.
  4. #
  5. # All Rights Reserved
  6. #
  7. # Permission to use, copy, modify, and distribute this software and
  8. # its documentation for any purpose and without fee is hereby
  9. # granted, provided that the above copyright notice appear in all
  10. # copies and that both that copyright notice and this permission
  11. # notice appear in supporting documentation, and that the name of
  12. # Blackdog Software not be used in advertising or publicity pertaining to
  13. # distribution of the software without specific, written prior
  14. # permission.
  15. #
  16. # BLACKDOG SOFTWARE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  17. # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
  18. # NO EVENT SHALL BLACKDOG SOFTWARE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
  19. # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
  20. # OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  21. # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  22. # CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  23. # ======================================================================
  24. # HTTP reply codes
  25. HTTP_CONTINUE = 100
  26. HTTP_SWITCHING_PROTOCOLS = 101
  27. HTTP_PROCESSING = 102
  28. HTTP_OK = 200
  29. HTTP_CREATED = 201
  30. HTTP_ACCEPTED = 202
  31. HTTP_NON_AUTHORITATIVE = 203
  32. HTTP_NO_CONTENT = 204
  33. HTTP_RESET_CONTENT = 205
  34. HTTP_PARTIAL_CONTENT = 206
  35. HTTP_MULTI_STATUS = 207
  36. HTTP_MULTIPLE_CHOICES = 300
  37. HTTP_MOVED_PERMANENTLY = 301
  38. HTTP_MOVED_TEMPORARILY = 302
  39. HTTP_SEE_OTHER = 303
  40. HTTP_NOT_MODIFIED = 304
  41. HTTP_USE_PROXY = 305
  42. HTTP_TEMPORARY_REDIRECT = 307
  43. HTTP_BAD_REQUEST = 400
  44. HTTP_UNAUTHORIZED = 401
  45. HTTP_PAYMENT_REQUIRED = 402
  46. HTTP_FORBIDDEN = 403
  47. HTTP_NOT_FOUND = 404
  48. HTTP_METHOD_NOT_ALLOWED = 405
  49. HTTP_NOT_ACCEPTABLE = 406
  50. HTTP_PROXY_AUTHENTICATION_REQUIRED = 407
  51. HTTP_REQUEST_TIME_OUT = 408
  52. HTTP_CONFLICT = 409
  53. HTTP_GONE = 410
  54. HTTP_LENGTH_REQUIRED = 411
  55. HTTP_PRECONDITION_FAILED = 412
  56. HTTP_REQUEST_ENTITY_TOO_LARGE = 413
  57. HTTP_REQUEST_URI_TOO_LARGE = 414
  58. HTTP_UNSUPPORTED_MEDIA_TYPE = 415
  59. HTTP_RANGE_NOT_SATISFIABLE = 416
  60. HTTP_EXPECTATION_FAILED = 417
  61. HTTP_UNPROCESSABLE_ENTITY = 422
  62. HTTP_INTERNAL_SERVER_ERROR = 500
  63. HTTP_NOT_IMPLEMENTED = 501
  64. HTTP_BAD_GATEWAY = 502
  65. HTTP_SERVICE_UNAVAILABLE = 503
  66. HTTP_GATEWAY_TIME_OUT = 504
  67. HTTP_VERSION_NOT_SUPPORTED = 505
  68. HTTP_VARIANT_ALSO_VARIES = 506
  69. HSE_STATUS_SUCCESS = 1
  70. HSE_STATUS_SUCCESS_AND_KEEP_CONN = 2
  71. HSE_STATUS_PENDING = 3
  72. HSE_STATUS_ERROR = 4
  73. SF_NOTIFY_SECURE_PORT = 0x00000001
  74. SF_NOTIFY_NONSECURE_PORT = 0x00000002
  75. SF_NOTIFY_READ_RAW_DATA = 0x00008000
  76. SF_NOTIFY_PREPROC_HEADERS = 0x00004000
  77. SF_NOTIFY_AUTHENTICATION = 0x00002000
  78. SF_NOTIFY_URL_MAP = 0x00001000
  79. SF_NOTIFY_ACCESS_DENIED = 0x00000800
  80. SF_NOTIFY_SEND_RESPONSE = 0x00000040
  81. SF_NOTIFY_SEND_RAW_DATA = 0x00000400
  82. SF_NOTIFY_LOG = 0x00000200
  83. SF_NOTIFY_END_OF_REQUEST = 0x00000080
  84. SF_NOTIFY_END_OF_NET_SESSION = 0x00000100
  85. SF_NOTIFY_ORDER_HIGH = 0x00080000
  86. SF_NOTIFY_ORDER_MEDIUM = 0x00040000
  87. SF_NOTIFY_ORDER_LOW = 0x00020000
  88. SF_NOTIFY_ORDER_DEFAULT = SF_NOTIFY_ORDER_LOW
  89. SF_NOTIFY_ORDER_MASK = (
  90. SF_NOTIFY_ORDER_HIGH | SF_NOTIFY_ORDER_MEDIUM | SF_NOTIFY_ORDER_LOW
  91. )
  92. SF_STATUS_REQ_FINISHED = 134217728 # 0x8000000
  93. SF_STATUS_REQ_FINISHED_KEEP_CONN = 134217728 + 1
  94. SF_STATUS_REQ_NEXT_NOTIFICATION = 134217728 + 2
  95. SF_STATUS_REQ_HANDLED_NOTIFICATION = 134217728 + 3
  96. SF_STATUS_REQ_ERROR = 134217728 + 4
  97. SF_STATUS_REQ_READ_NEXT = 134217728 + 5
  98. HSE_IO_SYNC = 0x00000001 # for WriteClient
  99. HSE_IO_ASYNC = 0x00000002 # for WriteClient/TF/EU
  100. HSE_IO_DISCONNECT_AFTER_SEND = 0x00000004 # for TF
  101. HSE_IO_SEND_HEADERS = 0x00000008 # for TF
  102. HSE_IO_NODELAY = 0x00001000 # turn off nagling
  103. # These two are only used by VectorSend
  104. HSE_IO_FINAL_SEND = 0x00000010
  105. HSE_IO_CACHE_RESPONSE = 0x00000020
  106. HSE_EXEC_URL_NO_HEADERS = 0x02
  107. HSE_EXEC_URL_IGNORE_CURRENT_INTERCEPTOR = 0x04
  108. HSE_EXEC_URL_IGNORE_VALIDATION_AND_RANGE = 0x10
  109. HSE_EXEC_URL_DISABLE_CUSTOM_ERROR = 0x20
  110. HSE_EXEC_URL_SSI_CMD = 0x40
  111. HSE_EXEC_URL_HTTP_CACHE_ELIGIBLE = 0x80