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
Grammar -rw-r--r-- 3.9 KB
Makefile -rw-r--r-- 476 bytes

back to top