Package flumotion :: Package twisted :: Module http
[hide private]

Module http

source code

Variables [hide private]
  ACCEPTED = 202
  BAD_GATEWAY = 502
  BAD_REQUEST = 400
  CACHED = 'Magic constant returned by http.Request methods to s...
  CONFLICT = 409
  CREATED = 201
  EXPECTATION_FAILED = 417
  FORBIDDEN = 403
  FOUND = 302
  GATEWAY_TIMEOUT = 504
  GONE = 410
  HTTP_VERSION_NOT_SUPPORTED = 505
  INSUFFICIENT_STORAGE_SPACE = 507
  INTERNAL_SERVER_ERROR = 500
  LENGTH_REQUIRED = 411
  MOVED_PERMANENTLY = 301
  MULTIPLE_CHOICE = 300
  MULTI_STATUS = 207
  NON_AUTHORITATIVE_INFORMATION = 203
  NOT_ACCEPTABLE = 406
  NOT_ALLOWED = 405
  NOT_EXTENDED = 510
  NOT_FOUND = 404
  NOT_IMPLEMENTED = 501
  NOT_MODIFIED = 304
  NO_BODY_CODES = (204, 304)
  NO_CONTENT = 204
  OK = 200
  PARTIAL_CONTENT = 206
  PAYMENT_REQUIRED = 402
  PRECONDITION_FAILED = 412
  PROXY_AUTH_REQUIRED = 407
  REQUESTED_RANGE_NOT_SATISFIABLE = 416
  REQUEST_ENTITY_TOO_LARGE = 413
  REQUEST_TIMEOUT = 408
  REQUEST_URI_TOO_LONG = 414
  RESET_CONTENT = 205
  RESPONSES = {100: 'Continue', 101: 'Switching Protocols', 200:...
  SEE_OTHER = 303
  SERVICE_UNAVAILABLE = 503
  SWITCHING = 101
  TEMPORARY_REDIRECT = 307
  UNAUTHORIZED = 401
  UNSUPPORTED_MEDIA_TYPE = 415
  USE_PROXY = 305
  monthname = [None, 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', '...
  monthname_lower = [None, 'jan', 'feb', 'mar', 'apr', 'may', 'j...
  name = 'Dec'
  protocol_version = 'HTTP/1.1'
  reactor = <twisted.internet.gtk2reactor.Gtk2Reactor object at ...
  responses = {100: 'Continue', 101: 'Switching Protocols', 200:...
  weekdayname = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
  weekdayname_lower = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat',...
Variables Details [hide private]

CACHED

Value:
'''Magic constant returned by http.Request methods to set cache
validation headers when the request is conditional and the value fails
the condition.'''

RESPONSES

Value:
{100: 'Continue',
 101: 'Switching Protocols',
 200: 'OK',
 201: 'Created',
 202: 'Accepted',
 203: 'Non-Authoritative Information',
 204: 'No Content',
 205: 'Reset Content.',
...

monthname

Value:
[None,
 'Jan',
 'Feb',
 'Mar',
 'Apr',
 'May',
 'Jun',
 'Jul',
...

monthname_lower

Value:
[None,
 'jan',
 'feb',
 'mar',
 'apr',
 'may',
 'jun',
 'jul',
...

reactor

Value:
<twisted.internet.gtk2reactor.Gtk2Reactor object at 0x81aaccc>

responses

Value:
{100: 'Continue',
 101: 'Switching Protocols',
 200: 'OK',
 201: 'Created',
 202: 'Accepted',
 203: 'Non-Authoritative Information',
 204: 'No Content',
 205: 'Reset Content.',
...

weekdayname_lower

Value:
['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']