Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.

This commit is contained in:
Robert Collins 2015-07-27 10:42:01 +12:00
parent 83236f7a8b
commit ddc7440b0e
3 changed files with 4 additions and 1 deletions

View File

@ -337,7 +337,7 @@ def check_environ(environ):
# @@: these need filling out:
if environ['REQUEST_METHOD'] not in (
'GET', 'HEAD', 'POST', 'OPTIONS','PUT','DELETE','TRACE'):
'GET', 'HEAD', 'POST', 'OPTIONS', 'PATCH', 'PUT', 'DELETE', 'TRACE'):
warnings.warn(
"Unknown REQUEST_METHOD: %r" % environ['REQUEST_METHOD'],
WSGIWarning)

View File

@ -1207,6 +1207,7 @@ Bob Savage
Dave Sawyer
Ben Sayer
sbt
Luca Sbardella
Marco Scataglini
Andrew Schaaf
Michael Scharf

View File

@ -66,6 +66,8 @@ Core and Builtins
Library
-------
- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
- Issue #24683: Fixed crashes in _json functions called with arguments of
inappropriate type.