[Python-checkins] cpython (3.4): Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
robert.collins
python-checkins at python.org
Mon Jul 27 00:47:34 CEST 2015
https://hg.python.org/cpython/rev/1a5b3dbafcca
changeset: 97080:1a5b3dbafcca
branch: 3.4
parent: 97069:b3d0bf112f70
user: Robert Collins <rbtcollins at hp.com>
date: Mon Jul 27 10:42:01 2015 +1200
summary:
Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
files:
Lib/wsgiref/validate.py | 2 +-
Misc/ACKS | 1 +
Misc/NEWS | 2 ++
3 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Lib/wsgiref/validate.py b/Lib/wsgiref/validate.py
--- a/Lib/wsgiref/validate.py
+++ b/Lib/wsgiref/validate.py
@@ -337,7 +337,7 @@
# @@: 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
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1207,6 +1207,7 @@
Dave Sawyer
Ben Sayer
sbt
+Luca Sbardella
Marco Scataglini
Andrew Schaaf
Michael Scharf
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -66,6 +66,8 @@
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.
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list