]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
authorRobert Collins <rbtcollins@hp.com>
Sun, 26 Jul 2015 22:40:15 +0000 (10:40 +1200)
committerRobert Collins <rbtcollins@hp.com>
Sun, 26 Jul 2015 22:40:15 +0000 (10:40 +1200)
Lib/wsgiref/validate.py
Misc/ACKS
Misc/NEWS

index 04a893d7c614a351cd1ffda5d664cde764119dd3..c3278120b0afa9205e687f5e1ace042c495c9342 100644 (file)
@@ -329,7 +329,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)
index 818717412e042e4dd5438a539a5be0ec0d58828d..5765519bc97d91a6dd390feefdcc8bff78671267 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1197,6 +1197,7 @@ Hugh Sasse
 Bob Savage
 Ben Sayer
 sbt
+Luca Sbardella
 Marco Scataglini
 Andrew Schaaf
 Michael Scharf
index 2fd418d3180d39e577e1608654873eebebb59498..c2ca4e8cf30fab265d673408c4175b30d8546f1e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
+
 - Issue #24613: Calling array.fromstring() with self is no longer allowed
   to prevent the use-after-free error.  Patch by John Leitch.