diff --git a/docs/ref/class-based-views/base.txt b/docs/ref/class-based-views/base.txt index edf2dab5fe..fbb2da9a6e 100644 --- a/docs/ref/class-based-views/base.txt +++ b/docs/ref/class-based-views/base.txt @@ -113,13 +113,9 @@ ancestor classes are documented under the section title of **Ancestors If the view was called with an HTTP method it doesn't support, this method is called instead. - The default implementation returns ``HttpResponseNotAllowed`` with - status code ``405 Method Not Allowed``. - - .. note:: - - Django sets the list of allowed HTTP methods in the ``Allow`` - response header, and the response content is empty. + The default implementation returns ``HttpResponseNotAllowed`` with the + list of allowed methods in the ``Allow`` header. The response body is + empty, as required by :rfc:`RFC 7231 <7231#section-6.5.5>`. .. method:: options(request, *args, **kwargs)