Commit aff146ae by Tom Christie Committed by GitHub

Filter HEAD out from schemas (#4357)

parent 54096dc2
......@@ -167,7 +167,7 @@ class SchemaGenerator(object):
return [
method for method in
callback.cls().allowed_methods if method != 'OPTIONS'
callback.cls().allowed_methods if method not in ('OPTIONS', 'HEAD')
]
def get_key(self, path, method, callback):
......
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