[Python-checkins] cpython (merge 3.4 -> 3.5): 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/cb0c56f87a47
changeset: 97081:cb0c56f87a47
branch: 3.5
parent: 97078:b339a35e2e77
parent: 97080:1a5b3dbafcca
user: Robert Collins <rbtcollins at hp.com>
date: Mon Jul 27 10:42:54 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
@@ -1242,6 +1242,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
@@ -13,6 +13,8 @@
Library
-------
+- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
+
What's New in Python 3.5.0 beta 4?
==================================
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list