[OT] minimalist web server

Paul Rubin http
Sun Dec 2 01:19:57 EST 2007


> from SimpleHTTPServer import SimpleRequestHandler
> handler = HTTPServer (('', 8000), SimpleRequestHandler)


I think you mean SimpleHTTPRequestHandler.  Note that actually reads
the url path and looks in the file system to get the file of that
name, which isn't what the OP wanted.

The OP might also try the junkbuster proxy (google for it) which I
think was renamed a while back.



More information about the Python-list mailing list