]> granicus.if.org Git - python/commitdiff
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
authorRobert Collins <rbtcollins@hp.com>
Sun, 26 Jul 2015 22:42:01 +0000 (10:42 +1200)
committerRobert Collins <rbtcollins@hp.com>
Sun, 26 Jul 2015 22:42:01 +0000 (10:42 +1200)
Lib/wsgiref/validate.py
Misc/ACKS
Misc/NEWS

index 49eaa514cc5d0873f0bdcb9a4543cce71881803e..6107dcd7a4d24d127415866a743c17a74630974f 100644 (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)
index a6a9a9d92a5e60012f3b4f8b5fbaf2db2ea03002..3727f85204cd00e3370bd407bbd9275109553538 100644 (file)
--- 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
index b84e38d2031d4177504c23ac51d40e251667d27f..2755a3926e90ab1c38d7d017ab19502bb4a7ef9a 100644 (file)
--- 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.