We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b66202a + 1d1fcde commit b535c9bCopy full SHA for b535c9b
en/controllers.rst
@@ -286,7 +286,7 @@ Content Type Negotiation
286
287
Controllers can define a list of view classes they support. After the
288
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``
+content-type negotiation with either :ref:`file-extensions` or ``Accept``
290
headers. This enables your application to re-use the same controller action to
291
render an HTML view or render a JSON or XML response. To define the list of
292
supported view classes for a controller is done with the ``addViewClasses()``
0 commit comments