]> granicus.if.org Git - python/commit
Patch by Jeff Rush:
authorGuido van Rossum <guido@python.org>
Mon, 7 Dec 1998 04:08:30 +0000 (04:08 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 7 Dec 1998 04:08:30 +0000 (04:08 +0000)
commit5c3b384a851b5f8f9a4f9a39a6869528d4444658
tree456ef60ec5757ee23c0871ecffaea717cd07eb5e
parent9228cbd0844f9f0a641832b214a47006c77333bb
Patch by Jeff Rush:

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.
Lib/SimpleHTTPServer.py