Issue #17527: Add PATCH to wsgiref.validator. Patch from Luca Sbardella.
This commit is contained in:
commit
f66f4208b7
|
@ -337,7 +337,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)
|
||||
|
|
|
@ -1242,6 +1242,7 @@ Bob Savage
|
|||
Dave Sawyer
|
||||
Ben Sayer
|
||||
sbt
|
||||
Luca Sbardella
|
||||
Marco Scataglini
|
||||
Andrew Schaaf
|
||||
Michael Scharf
|
||||
|
|
Loading…
Reference in New Issue