@@ -651,8 +651,6 @@ Check whether a specific language is accepted:
651651$acceptsSpanish = $this->request->acceptLanguage('es-es');
652652```
653653
654- <a id =" request-cookies " ></a >
655-
656654### Reading Request Cookies
657655
658656Request cookies can be read through a number of methods:
@@ -947,8 +945,6 @@ The `withCache()` method sets the `Last-Modified` value to the first
947945argument. ` Expires ` header and the ` max-age ` directive are set based on the
948946second parameter. Cache-Control's ` public ` directive is set as well.
949947
950- <a id =" cake-response-caching " ></a >
951-
952948### Fine-Tuning HTTP Cache
953949
954950One of the best and easiest ways of speeding up your application is to use HTTP
@@ -1122,8 +1118,6 @@ if ($this->response->isNotModified($this->request)) {
11221118}
11231119```
11241120
1125- <a id =" response-cookies " ></a >
1126-
11271121### Setting Cookies
11281122
11291123Cookies can be added to response using either an array or a ` Cake\Http\Cookie\Cookie `
@@ -1157,8 +1151,6 @@ will make the browser remove its local cookie:
11571151$this->response = $this->response->withExpiredCookie(new Cookie('remember_me'));
11581152```
11591153
1160- <a id =" cors-headers " ></a >
1161-
11621154### Setting Cross-Origin Request Headers (CORS)
11631155
11641156The ` cors() ` method returns a ` CorsBuilder ` instance which provides a fluent
@@ -1421,8 +1413,6 @@ $response = $this->response->withCookieCollection($cookies);
14211413Cookies set to responses can be encrypted using the
14221414[ Encrypted Cookie Middleware] ( ../controllers/middleware#encrypted-cookie-middleware ) .
14231415
1424- <a id =" cookie-collection-reading " ></a >
1425-
14261416### Reading Cookies from a CookieCollection
14271417
14281418Once you have a ` CookieCollection ` instance, you can access the cookies it
0 commit comments