Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue839496: SimpleHTTPServer should open all files in binary mode. | Amaury Forgeot d'Arc | 2008-07-06 | 1 | -5/+4 |
| | | | | | | | | Forward-port of 38255 (2005/01/15!) This was already fixed in 2.4, but never merged into trunk... py3k is already right, thanks to the bytes/str distinction! Should be backported to 2.5. | ||||
* | #2169: make generated HTML more valid | Andrew M. Kuchling | 2008-02-28 | 1 | -3/+4 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+0 |
| | |||||
* | Issue 1224. Now we support again the double slash in the URL. | Facundo Batista | 2008-02-18 | 1 | -1/+2 |
| | | | | Thanks Anthony Lenton. | ||||
* | [Patch #827559 from Chris Gonnerman] Make SimpleHTTPServer redirect when a ↵ | Andrew M. Kuchling | 2006-12-22 | 1 | -0/+6 |
| | | | | directory URL is missing the trailing slash; this lets relative links work. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-14 | 1 | -1/+1 |
| | |||||
* | Bug #1117556: SimpleHTTPServer now tries to find and use the system's | Georg Brandl | 2006-06-14 | 1 | -1/+3 |
| | | | | mime.types file for determining MIME types. | ||||
* | Patch #1417555: SimpleHTTPServer now returns Last-Modified headers. | Georg Brandl | 2006-02-17 | 1 | -1/+3 |
| | |||||
* | Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters | Georg Brandl | 2006-01-13 | 1 | -0/+3 |
| | | | | any more. | ||||
* | Patch #1360443: Make SimpleHTTPServer display unencoded directory names. | Georg Brandl | 2005-12-16 | 1 | -2/+3 |
| | |||||
* | Use cStringIO where available. | Raymond Hettinger | 2004-12-31 | 1 | -1/+4 |
| | |||||
* | Patch #1011123: Use urllib.quote() instead of cgi.escape() for encoding the | Johannes Gijsbers | 2004-08-21 | 1 | -2/+3 |
| | | | | | href attribute in list_directory(). This fixes the links for legal Unix filenames such as 'a"b'. | ||||
* | [Bug #866222] Update docstrings. | Andrew M. Kuchling | 2004-08-07 | 1 | -4/+3 |
| | |||||
* | Let library modules use the new keyword arguments for list.sort(). | Raymond Hettinger | 2003-10-16 | 1 | -1/+1 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -2/+2 |
| | |||||
* | Patch #430706: Persistent connections in BaseHTTPServer. | Martin v. Löwis | 2002-03-17 | 1 | -0/+3 |
| | |||||
* | Correction after translation test. | Eric S. Raymond | 2001-02-09 | 1 | -1/+1 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -3/+2 |
| | |||||
* | unnecessary semicolon | Jeremy Hylton | 2001-01-26 | 1 | -1/+1 |
| | |||||
* | added __all__ lists to a number of Python modules | Skip Montanaro | 2001-01-20 | 1 | -0/+1 |
| | | | | | | | | 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. | ||||
* | - Use mimetypes.types_map to initialize extensions_map. | Guido van Rossum | 2001-01-14 | 1 | -9/+9 |
| | | | | | | - 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 :-). | ||||
* | For this server to work on Windows, directories should use "/" as the | Guido van Rossum | 2000-09-04 | 1 | -2/+3 |
| | | | | | | | | separator in the href, not os.sep. Added a <title> tag to directory listings. Bumped version to 0.5. | ||||
* | Using shutil's function to copy data between file objects instead | Moshe Zadka | 2000-07-29 | 1 | -6/+2 |
| | | | | | | | | of rolling our own. Note: This is my first sourceforge checkin. If you see anything funny about this patch, please let me know. | ||||
* | Changed list_directory() somewhat. It is now only called when there | Guido van Rossum | 2000-05-21 | 1 | -15/+34 |
| | | | | | | | 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. | ||||
* | Add a simple directory listing function. | Guido van Rossum | 2000-05-09 | 1 | -9/+38 |
| | |||||
* | Moshe Zadka writes: When deploying SimpleHTTPServer, I noticed a | Guido van Rossum | 1999-11-16 | 1 | -1/+2 |
| | | | | problem: it does not encode/decode the urls, which is wrong. | ||||
* | No need to import sys, time, socket or SocketServer. (Andrew Dalke & kjpylint) | Guido van Rossum | 1999-05-03 | 1 | -4/+0 |
| | |||||
* | Patch by Jeff Rush: | Guido van Rossum | 1998-12-07 | 1 | -1/+1 |
| | | | | | | | | | | | | 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. | ||||
* | Open the file in binary mode -- so serving images from a Windows box | Guido van Rossum | 1998-12-07 | 1 | -1/+1 |
| | | | | might actually work. | ||||
* | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -89/+89 |
| | |||||
* | Get rid of nobody_uid() and import pwd -- not used here. | Guido van Rossum | 1996-09-04 | 1 | -12/+0 |
| | |||||
* | recognize a few more file types | Guido van Rossum | 1995-09-18 | 1 | -1/+8 |
| | |||||
* | Initial revision | Guido van Rossum | 1995-08-04 | 1 | -0/+161 |