Simple Webserver problem

Emile van Sebille emile at fenx.com
Thu Oct 30 19:33:58 EST 2003


Colin Brown asks:
> I am attempting to construct a simple webserver for browsing
> text files with arbitrary file extensions based on the standard
> Python library modules. Not all files are being returned as text.

IIRC, and assuming you're testing with IE, IE presumptively (of course)
outsmarts the text/plain header.  If you try with netscape it works.

HTH,

Emile van Sebille
emile at fenx.com






More information about the Python-list mailing list