diff options
Diffstat (limited to 'Lib/wsgiref/validate.py')
-rw-r--r-- | Lib/wsgiref/validate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/wsgiref/validate.py b/Lib/wsgiref/validate.py index 49eaa51..6107dcd 100644 --- a/Lib/wsgiref/validate.py +++ b/Lib/wsgiref/validate.py @@ -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) |