|
|
@@ -285,10 +285,10 @@ class RequestHandlerComponent extends Component
|
|
|
* "304 Not Modified" header.
|
|
|
*
|
|
|
* - If Router::extensions() is enabled, the layout and template type are
|
|
|
- * switched based on the parsed extension or Accept-Type header. For example,
|
|
|
+ * switched based on the parsed extension or `Accept` header. For example,
|
|
|
* if `controller/action.xml` is requested, the view path becomes
|
|
|
* `app/View/Controller/xml/action.ctp`. Also if `controller/action` is
|
|
|
- * requested with `Accept-Type: application/xml` in the headers the view
|
|
|
+ * requested with `Accept: application/xml` in the headers the view
|
|
|
* path will become `app/View/Controller/xml/action.ctp`. Layout and template
|
|
|
* types will only switch to mime-types recognized by Cake\Network\Response.
|
|
|
* If you need to declare additional mime-types, you can do so using
|