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

This commit is contained in:
Robert Collins 2015-07-27 10:46:42 +12:00
commit 3e1770f5f3
4 changed files with 7 additions and 3 deletions

View File

@ -151,3 +151,4 @@ b4cbecbc0781e89a309d03b60a1f75f8499250e6 v3.4.3
071fefbb5e3db770c6c19fba9994699f121b1cea v3.5.0b1 071fefbb5e3db770c6c19fba9994699f121b1cea v3.5.0b1
7a088af5615bf04024e9912068f4bd8f43ed3917 v3.5.0b2 7a088af5615bf04024e9912068f4bd8f43ed3917 v3.5.0b2
0035fcd9b9243ae52c2e830204fd9c1f7d528534 v3.5.0b3 0035fcd9b9243ae52c2e830204fd9c1f7d528534 v3.5.0b3
c0d64105463581f85d0e368e8d6e59b7fd8f12b1 v3.5.0b4

View File

@ -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)

View File

@ -1242,6 +1242,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

View File

@ -13,6 +13,8 @@ Core and Builtins
Library Library
------- -------
- Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
- Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond. - Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.
- Issue #2091: open() accepted a 'U' mode string containing '+', but 'U' can - Issue #2091: open() accepted a 'U' mode string containing '+', but 'U' can
@ -75,8 +77,8 @@ Library
- Issue #24620: Random.setstate() now validates the value of state last element. - Issue #24620: Random.setstate() now validates the value of state last element.
- Issue #22485: Fixed an issue that caused `inspect.getsource` to return incorrect - Issue #22485: Fixed an issue that caused `inspect.getsource` to return
results on nested functions. incorrect results on nested functions.
- Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero. - Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero.