Skip to content

Commit b535c9b

Browse files
authored
Merge pull request #7767 from cakephp/ndm2-patch-1
5.x - Fix content type negotiation header name.
2 parents b66202a + 1d1fcde commit b535c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/controllers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Content Type Negotiation
286286
287287
Controllers can define a list of view classes they support. After the
288288
controller's action is complete CakePHP will use the view list to perform
289-
content-type negotiation with either :ref:`file-extensions` or ``Content-Type``
289+
content-type negotiation with either :ref:`file-extensions` or ``Accept``
290290
headers. This enables your application to re-use the same controller action to
291291
render an HTML view or render a JSON or XML response. To define the list of
292292
supported view classes for a controller is done with the ``addViewClasses()``

0 commit comments

Comments
 (0)