[OT] minimalist web server
Mel
mwilson at the-wire.com
Sun Dec 2 01:02:52 EST 2007
Daniel Fetchinson wrote:
> Maybe I found what I'm looking for: cheetah, a web server that is 600
> lines of C code and that's it :)
>
> http://freshmeat.net/projects/cheetahd/
For the sake of on-topicness, there is this:
#!/usr/bin/env python
# -*- coding: ASCII -*-
'''$Id$
'''
from BaseHTTPServer import HTTPServer
from SimpleHTTPServer import SimpleRequestHandler
handler = HTTPServer (('', 8000), SimpleRequestHandler)
handler.handle_forever()
Mel.
More information about the Python-list
mailing list