Staging
v0.5.1
https://github.com/python/cpython
Revision 60e7330fee3e34732ab55cd6bb1212e138c11f7f authored by Guido van Rossum on 30 March 1999, 20:17:31 UTC, committed by Guido van Rossum on 30 March 1999, 20:17:31 UTC
If you send something like "PUT / HTTP/1.0" to something derived from
BaseHTTPServer that doesn't define do_PUT, you will get a response
that begins like this:

	HTTP/1.0 501 Unsupported method ('do_PUT')
	Server: SimpleHTTP/0.3 Python/1.5
	Date: Tue, 30 Mar 1999 18:53:53 GMT

The server should complain about 'PUT' instead of 'do_PUT'.  This
patch should fix the problem.
1 parent 275e834
History
Tip revision: 60e7330fee3e34732ab55cd6bb1212e138c11f7f authored by Guido van Rossum on 30 March 1999, 20:17:31 UTC
Per Cederqvist writes:
Tip revision: 60e7330
File Mode Size
example_nt
os2vacpp
src
utils
vc15_lib
vc15_w31
wat_dos
wat_os2
WinMain.c -rw-r--r-- 426 bytes
_tkinter.def -rw-r--r-- 22 bytes
config.c -rw-r--r-- 3.8 KB
config.h -rw-r--r-- 13.6 KB
dl_nt.c -rw-r--r-- 906 bytes
dllbase_nt.txt -rw-r--r-- 1.5 KB
frozen_dllmain.c -rw-r--r-- 3.6 KB
getpathp.c -rw-r--r-- 11.4 KB
import_nt.c -rw-r--r-- 2.2 KB
make8x3.py -rw-r--r-- 2.2 KB
makesrc.exe -rw-r--r-- 25.0 KB
msvcrtmodule.c -rwxr-xr-x 4.1 KB
py.ico -rw-r--r-- 766 bytes
pyc.ico -rw-r--r-- 766 bytes
pycon.ico -rw-r--r-- 766 bytes
pyth_w31.def -rw-r--r-- 128 bytes
python.mk -rw-r--r-- 234 bytes
python.wpj -rw-r--r-- 412 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.4 KB
readme.txt -rw-r--r-- 7.9 KB
testpy.py -rw-r--r-- 850 bytes
vc40.mak -rw-r--r-- 123.0 KB
winsound.c -rw-r--r-- 3.5 KB

readme.txt

back to top