Package flumotion :: Package component :: Package base :: Module http
[hide private]

Module http

source code

Classes [hide private]
  Issuer
I am a base class for all Issuers.
  HTTPGenericIssuer
I create flumotion.common.keycards.Keycard based on just a standard HTTP request.
  HTTPAuthIssuer
I create flumotion.common.keycards.KeycardUACPP keycards based on an incoming twisted.protocols.http.Request request's standard HTTP authentication information.
  HTTPTokenIssuer
I create flumotion.common.keycards.KeycardToken keycards based on an incoming twisted.protocols.http.Request request's GET "token" parameter.
  HTTPAuthentication
Mixin for handling HTTP authentication for twisted.web Resources, using issuers and bouncers.
  LogFilter
Variables [hide private]
  HTTP_SERVER_NAME = 'FlumotionHTTPServer'
  HTTP_SERVER_VERSION = '0.4.2'
  ERROR_TEMPLATE = '<!doctype html public "-//IETF//DTD HTML 2.0...
  HTTP_SERVER = 'FlumotionHTTPServer/0.4.2'
Variables Details [hide private]

ERROR_TEMPLATE

Value:
'''<!doctype html public "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
  <title>%(code)d %(error)s</title>
</head>
<body>
<h2>%(code)d %(error)s</h2>
</body>
...