Workaround for problems in BaseHTTPServer.HTTPServer .
The Python 1.5.2 library's implementation of
BaseHTTPServer.HTTPServer.server_bind seems to have difficulties
when the local host address cannot be resolved by gethostbyaddr .
This may happen for a variety of reasons, such as reverse DNS
misconfiguration. This subclass fixes that problem.
Methods
|
|
server_bind
|
|
server_bind
|
server_bind ( self )
Override server_bind to store the server name.
|
|