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
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.4 KB
Makefile.in -rw-r--r-- 17.9 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 4.2 KB
config.h.in -rw-r--r-- 12.1 KB
configure -rwxr-xr-x 135.4 KB
configure.in -rw-r--r-- 25.1 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top