Package lxml :: Package tests :: Module dummy_http_server :: Class _RequestHandler
[hide private]
[frames] | no frames]

Class _RequestHandler

source code

SocketServer.BaseRequestHandler --+            
  SocketServer.StreamRequestHandler --+        
  BaseHTTPServer.BaseHTTPRequestHandler --+    
   wsgiref.simple_server.WSGIRequestHandler --+

Nested Classes [hide private]

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: MessageClass

Instance Methods [hide private]
get_stderr(self) source code
log_message(self, format, *args)
Log an arbitrary message.
source code

Inherited from wsgiref.simple_server.WSGIRequestHandler: get_environ, handle

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: address_string, 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: default_request_version, error_content_type, error_message_format, monthname, protocol_version, responses, sys_version, weekdayname

Inherited from SocketServer.StreamRequestHandler: disable_nagle_algorithm, rbufsize, timeout, wbufsize

Method Details [hide private]


source code 
Overrides: wsgiref.simple_server.WSGIRequestHandler.get_stderr

log_message(self, format, *args)

source code 

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 ip address and current date/time are prefixed to every message.

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.log_message
(inherited documentation)