PPA.HTTP.CGI
index
/home/ods/SF-PPA/homepage/API/PPA/HTTP/CGI.py

# $Id: CGI.py,v 1.1.1.1 2004/04/09 13:18:11 ods Exp $

 
Modules
       
PPA.HTTP.Base

 
Classes
       
PPA.HTTP.Base.Adapter
Adapter
Headers
PPA.HTTP.Base.Request
Request
PPA.HTTP.Base.Response
Response

 
class Adapter(PPA.HTTP.Base.Adapter)
     Methods defined here:
__call__(self)

 
class Headers
    Read-only input headers wrapper to envirinment variables HTTP_*.
 
  Methods defined here:
__getitem__(self, key)
__init__(self, environ=None)
has_key(self, key)
keys(self)

 
class Request(PPA.HTTP.Base.Request)
     Methods defined here:
__init__(self, environ, stdin)
method(self)
path(self)
protocol(self)
query(self)
remoteAddr(self)
remoteName(self)
scheme(self)
serverAddr(self)
serverName(self)
serverPort(self)
uri(self)
user(self)

Methods inherited from PPA.HTTP.Base.Request:
read(self, *args)
readline(self, *args)
version(self)

 
class Response(PPA.HTTP.Base.Response)
     Methods inherited from PPA.HTTP.Base.Response:
__init__(self, request, fp, buffered=1)
close(self)
flush(self)
setBuffered(self, value)
setContentType(self, mime_type, charset=None, errors=None)
setStatus(self, status)
write(self, data)

Data and other attributes inherited from PPA.HTTP.Base.Response:
charset = 'ascii'
charsetErrors = 'replace'
charsetErrorsByType = {'text/html': 'xmlcharrefreplace', 'text/sgml': 'xmlcharrefreplace', 'text/xml': 'xmlcharrefreplace'}
statusCodes = {100: 'Continue', 101: 'Switching Protocols', 200: 'OK', 201: 'Created', 202: 'Accepted', 203: 'Non-Authoritative Information', 204: 'No Content', 205: 'Reset Content', 206: 'Partial Content', 300: 'Multiple Choices', ...}