Trees | Indices | Help |
---|
|
SocketServer.BaseRequestHandler --+ | SocketServer.StreamRequestHandler --+ | BaseHTTPServer.BaseHTTPRequestHandler --+ | SimpleHTTPServer.SimpleHTTPRequestHandler --+ | CGIHTTPServer.CGIHTTPRequestHandler --+ | HTTPRequestHandler
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
Translate a /-separated PATH to the local filename syntax. Components that mean special things to the local file system (e.g. drive or directory names) are ignored. (XXX They should probably be diagnosed.)
|
Parse a request (internal). The request should be stored in self.raw_requestline; the results are in self.command, self.path, self.request_version and self.headers. Return True for success, False for failure; on failure, an error is sent back.
|
|
|
|
Return the client address formatted for logging. This version looks up the full hostname using gethostbyaddr(), and tries to find a name that contains at least one dot.
|
|
Log an arbitrary message. This is used by all other logging functions. Override it if you have specific logging wishes. The first argument, FORMAT, is a format string for the message to be logged. If the format string contains any % escapes requiring parameters, they should be specified as subsequent arguments (it's just like printf!). The client host and current date/time are prefixed to every message.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0beta1 on Thu Jan 31 08:15:47 2008 | http://epydoc.sourceforge.net |