summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-07-26 22:40:15 (GMT)
committerRobert Collins <rbtcollins@hp.com>2015-07-26 22:40:15 (GMT)
commit581234ee0d2612fbbc9e521e1bcb3a6d48050dc8 (patch)
tree795b9d3273dcae3c7b991c29635dbb79f8961609
parent76a64ca4388493c8b518a256e3cc0e9b5ed3b3f3 (diff)
downloadcpython-581234ee0d2612fbbc9e521e1bcb3a6d48050dc8.zip
cpython-581234ee0d2612fbbc9e521e1bcb3a6d48050dc8.tar.gz
cpython-581234ee0d2612fbbc9e521e1bcb3a6d48050dc8.tar.bz2
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
-rw-r--r--Lib/wsgiref/validate.py2
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS2
3 files changed, 4 insertions, 1 deletions
diff --git a/Lib/wsgiref/validate.py b/Lib/wsgiref/validate.py
index 04a893d..c327812 100644
--- a/Lib/wsgiref/validate.py
+++ b/Lib/wsgiref/validate.py
@@ -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)
diff --git a/Misc/ACKS b/Misc/ACKS
index 8187174..5765519 100644
--- 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
diff --git a/Misc/NEWS b/Misc/NEWS
index 2fd418d..c2ca4e8 100644
--- 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.