Filter HEAD out from schemas (#4357)

This commit is contained in:
Tom Christie 2016-08-05 10:23:40 +01:00 committed by GitHub
parent 54096dc22f
commit aff146ae83

View File

@ -167,7 +167,7 @@ class SchemaGenerator(object):
return [ return [
method for method in 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): def get_key(self, path, method, callback):