Staging
v0.8.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
README -rw-r--r-- 3.0 KB
README.readline-2.2 -rw-r--r-- 1.8 KB
ar-fake -rwxr-xr-x 4.0 KB
dl_export.h -rw-r--r-- 1.9 KB
linkcc -rwxr-xr-x 2.0 KB
linkmodule -rwxr-xr-x 1.8 KB

README

back to top