diff --git a/rest_framework/schemas.py b/rest_framework/schemas.py index 02960083c..b5d2e0254 100644 --- a/rest_framework/schemas.py +++ b/rest_framework/schemas.py @@ -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):