• Guido van Rossum's avatar
    Patch by Jeff Rush: · 5c3b384a
    Guido van Rossum yazdı
    In SimpleHTTPServer.py, the server specified in test() should
    be BaseHTTPServer.HTTPServer, in case the request handler should
    want to reference the two attributes added by
    BaseHTTPServer.server_bind:
    
            self.server_name = hostname
            self.server_port = port
    
    There was some Bobo CGI code that wanted access to those attributes.
    5c3b384a
SimpleHTTPServer.py 4.54 KB