From 5fb9b1621db05d540e0df390c98e4c67099ad707 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Thu, 2 Nov 2023 10:14:16 -0700 Subject: [PATCH] docs: fix incorrect escaping in URL --- .../routes/api/qwik-city-middleware-request-handler/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/routes/api/qwik-city-middleware-request-handler/index.md b/packages/docs/src/routes/api/qwik-city-middleware-request-handler/index.md index f7638d9a9f9..4629b930bee 100644 --- a/packages/docs/src/routes/api/qwik-city-middleware-request-handler/index.md +++ b/packages/docs/src/routes/api/qwik-city-middleware-request-handler/index.md @@ -261,7 +261,7 @@ export interface RequestEventBase | Property | Modifiers | Type | Description | | ----------------- | --------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | [basePathname](#) | readonly | string | The base pathname of the request, which can be configured at build time. Defaults to /. | -| [cacheControl](#) | readonly | (cacheControl: [CacheControl](#cachecontrol), target?: CacheControlTarget) => void |

Convenience method to set the Cache-Control header. Depending on your CDN, you may want to add another cacheControl with the second argument set to CDN-Cache-Control or any other value (we provide the most common values for auto-complete, but you can use any string you want).

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control and https://qwik.builder.io/docs/caching/\#CDN-Cache-Controls for more information.

| +| [cacheControl](#) | readonly | (cacheControl: [CacheControl](#cachecontrol), target?: CacheControlTarget) => void |

Convenience method to set the Cache-Control header. Depending on your CDN, you may want to add another cacheControl with the second argument set to CDN-Cache-Control or any other value (we provide the most common values for auto-complete, but you can use any string you want).

See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control and https://qwik.builder.io/docs/caching/#CDN-Cache-Controls for more information.

| | [clientConn](#) | readonly | [ClientConn](#clientconn) | Provides information about the client connection, such as the IP address and the country the request originated from. | | [cookie](#) | readonly | [Cookie](#cookie) |

HTTP request and response cookie. Use the get() method to retrieve a request cookie value. Use the set() method to set a response cookie value.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies

| | [env](#) | readonly | [EnvGetter](#envgetter) | Platform provided environment variables. |