From: Robert Collins Date: Sun, 26 Jul 2015 22:42:01 +0000 (+1200) Subject: Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. X-Git-Tag: v3.5.0rc1~88^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ddc7440b0e9fe53e0dfdc4b11db1a61deb694267;p=thirdparty%2FPython%2Fcpython.git Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella. --- diff --git a/Lib/wsgiref/validate.py b/Lib/wsgiref/validate.py index 49eaa514cc5d..6107dcd7a4d2 100644 --- a/Lib/wsgiref/validate.py +++ b/Lib/wsgiref/validate.py @@ -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) diff --git a/Misc/ACKS b/Misc/ACKS index a6a9a9d92a5e..3727f85204cd 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -1207,6 +1207,7 @@ Bob Savage Dave Sawyer Ben Sayer sbt +Luca Sbardella Marco Scataglini Andrew Schaaf Michael Scharf diff --git a/Misc/NEWS b/Misc/NEWS index b84e38d2031d..2755a3926e90 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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.