Commit ddc7440b authored by Robert Collins's avatar Robert Collins

Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.

parent 83236f7a
...@@ -337,7 +337,7 @@ def check_environ(environ): ...@@ -337,7 +337,7 @@ def check_environ(environ):
# @@: these need filling out: # @@: these need filling out:
if environ['REQUEST_METHOD'] not in ( if environ['REQUEST_METHOD'] not in (
'GET', 'HEAD', 'POST', 'OPTIONS','PUT','DELETE','TRACE'): 'GET', 'HEAD', 'POST', 'OPTIONS', 'PATCH', 'PUT', 'DELETE', 'TRACE'):
warnings.warn( warnings.warn(
"Unknown REQUEST_METHOD: %r" % environ['REQUEST_METHOD'], "Unknown REQUEST_METHOD: %r" % environ['REQUEST_METHOD'],
WSGIWarning) WSGIWarning)
......
...@@ -1207,6 +1207,7 @@ Bob Savage ...@@ -1207,6 +1207,7 @@ Bob Savage
Dave Sawyer Dave Sawyer
Ben Sayer Ben Sayer
sbt sbt
Luca Sbardella
Marco Scataglini Marco Scataglini
Andrew Schaaf Andrew Schaaf
Michael Scharf Michael Scharf
......
...@@ -66,6 +66,8 @@ Core and Builtins ...@@ -66,6 +66,8 @@ Core and Builtins
Library Library
------- -------
- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
- Issue #24683: Fixed crashes in _json functions called with arguments of - Issue #24683: Fixed crashes in _json functions called with arguments of
inappropriate type. inappropriate type.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment