A simple HTTP request handler for HTTPServer. Minimal serves files within a given directory, guessing their MIME-type from their file extension.
See HTTPResourceGlue.py for how to use request handlers.
A simple HTTP request handler for HTTPServer which serves files within a given directory, guessing their MIME-type from their file extension.
Arguments: -- request - the request dictionary object that spawned this component -- homedirectory - the path to prepend to paths requested -- indexfilename - if a directory is requested, this file is checked for inside it, and sent if found
Got a problem with the documentation? Something unclear that could be clearer? Want to help improve it? Constructive criticism is very welcome - especially if you can suggest a better rewording!
Please leave you feedback here in reply to the documentation thread in the Kamaelia blog.
-- Automatic documentation generator, 19 Oct 2008 at 14:29:09 UTC/GMT