Package nltk :: Package wordnet :: Package browser :: Module browserver :: Class MyServerHandler
[hide private]
[frames] | no frames]

Class MyServerHandler

source code

SocketServer.BaseRequestHandler --+        
                                  |        
  SocketServer.StreamRequestHandler --+    
                                      |    
  BaseHTTPServer.BaseHTTPRequestHandler --+
                                          |
                                         MyServerHandler

Nested Classes [hide private]

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: MessageClass

Instance Methods [hide private]
 
do_HEAD(self) source code
 
do_GET(self) source code
 
send_head(self, type=None) source code
 
log_message(self, format, *args)
Log an arbitrary message.
source code

Inherited from BaseHTTPServer.BaseHTTPRequestHandler: address_string, date_time_string, end_headers, handle, 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 BaseHTTPServer.BaseHTTPRequestHandler: error_message_format, monthname, protocol_version, responses, server_version, sys_version, weekdayname

Inherited from SocketServer.StreamRequestHandler: rbufsize, wbufsize

Method Details [hide private]

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

Overrides: BaseHTTPServer.BaseHTTPRequestHandler.log_message
(inherited documentation)