Skip to content

Commit 1d1fcde

Browse files
authored
Fix content type negotiation header name.
1 parent b66202a commit 1d1fcde

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)