| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
|
| |
|
|
|
|
| |
- Change the default file type to application/octet-stream.
- Add support to recognize .py, .c, .h files as text/plain (this is
what I use most :-).
|
| |
|
|
|
|
|
|
| |
separator in the href, not os.sep.
Added a <title> tag to directory listings.
Bumped version to 0.5.
|
| |
|
|
|
|
|
|
| |
of rolling our own.
Note:
This is my first sourceforge checkin. If you see anything funny about
this patch, please let me know.
|
| |
|
|
|
|
|
| |
is no index.htm[l] file, and when it is called, it also spits out the
headers. When an index.htm[l] file is present, the regular (file
access) path is followed. Also, when the guessed content-type matches
text/*, open the file in text mode; otherwise in binary mode.
|
| | |
|
| |
|
|
| |
problem: it does not encode/decode the urls, which is wrong.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
| |
might actually work.
|
| | |
|
| | |
|
| | |
|
| |
|