Package translate :: Package services :: Module tmserver :: Class TMServer :: Class RequestHandler

[hide private]
[frames] | no frames]

# Class RequestHandler

source code

Custom request handler, disables some inefficient defaults

Instance Methods | [hide private]

address_string(self) Disable client reverse dns lookup. | source code

log_message(self, format, *args) Log requests using logging instead of printing to stderror. | source code

Inherited from `wsgiref.simple_server.WSGIRequestHandler`: `get_environ`, `get_stderr`, `handle`

Inherited from `BaseHTTPServer.BaseHTTPRequestHandler`: `date_time_string`, `end_headers`, `handle_one_request`, `log_date_time_string`, `log_error`, `log_request`, `parse_request`, `send_error`, `send_header`, `send_response`, `version_string`

Inherited from `SocketServer.StreamRequestHandler`: `finish`, `setup`

Inherited from `SocketServer.BaseRequestHandler`: `__init__`

Class Variables | [hide private]

Inherited from `wsgiref.simple_server.WSGIRequestHandler`: `server_version` Inherited from `BaseHTTPServer.BaseHTTPRequestHandler`: `MessageClass`, `error_message_format`, `monthname`, `protocol_version`, `responses`, `sys_version`, `weekdayname` Inherited from `SocketServer.StreamRequestHandler`: `rbufsize`, `wbufsize`

Method Details | [hide private]

### address_string(self)

source code

Disable client reverse dns lookup.

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.address_string

### log_message(self, format, *args)

source code

Log requests using logging instead of printing to stderror.

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.log_message