Skip to content

Commit 4b9a727

Browse files
authored
chore: Fix redirected MDN URLs for HTTP headers docs (#21499)
* chore: Fix redirected MDN URLs for HTTP headers docs * chore: Fix redirected MDN URLs for HTTP status docs * chore: Fix redirected MDN URLs for HTTP methods docs
1 parent 968a9da commit 4b9a727

File tree

31 files changed

+58
-58
lines changed

31 files changed

+58
-58
lines changed

src/content/docs/cache/advanced-configuration/early-hints.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Early Hints are only generated and cached:
3737

3838
* For URIs with `.html`, `.htm`, or `.php` file extensions, or no file extension
3939
* On 200, 301, or 302 response return codes
40-
* When the response contains [link headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link) with preconnect or preload rel types, such as `Link: </img/preloaded.png>; rel=preload`
40+
* When the response contains [link headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Link) with preconnect or preload rel types, such as `Link: </img/preloaded.png>; rel=preload`
4141

4242
:::note
4343

src/content/docs/cache/concepts/cache-control.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A `Cache-Control` header can include a number of directives, and the directive d
3131
:::note[Note]
3232

3333

34-
For more information about `Cache-Control` directives at origin servers, refer to the [Mozilla Cache-Control documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control).
34+
For more information about `Cache-Control` directives at origin servers, refer to the [Mozilla Cache-Control documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cache-Control).
3535

3636

3737
:::

src/content/docs/cache/how-to/cache-keys.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In the **Check if header contains** section, you can add header names and their
9595

9696
To check for the presence of a header without including its actual value, use the **Check presence of** option.
9797

98-
Currently, you can only exclude the `Origin` header. The `Origin` header is always included unless explicitly excluded. Including the [Origin header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin) in the Cache Key is important to enforce [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS).
98+
Currently, you can only exclude the `Origin` header. The `Origin` header is always included unless explicitly excluded. Including the [Origin header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Origin) in the Cache Key is important to enforce [CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS).
9999

100100
Additionally, you cannot include the following headers:
101101

src/content/docs/cache/how-to/purge-cache/purge-by-single-file.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For information on single-file purge rate limits, refer to the [limits](/cache/h
1212
A single-file purge performed through your Cloudflare dashboard does not clear objects that contain any of the following:
1313

1414
- [Custom cache keys](/cache/how-to/cache-keys/)
15-
- [Origin header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin)
15+
- [Origin header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Origin)
1616
- Any of these request headers:
1717
- `X-Forwarded-Host`
1818
- `X-Host`

src/content/docs/cloudflare-one/identity/authorization-cookie/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ The selector options are:
5959
* **Lax** - Cookies are allowed to be sent with top-level navigations and will be sent along with GET requests initiated by third party websites.
6060
* **Strict** - Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
6161

62-
Refer to the [Mozilla documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite) for more information.
62+
Refer to the [Mozilla documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Set-Cookie#samesitesamesite-value) for more information.
6363

6464
#### When not to use SameSite
6565

src/content/docs/cloudflare-one/insights/dex/tests/http.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ An HTTP test measures the following data:
5151
| Resource fetch time | Total time of all steps of the request, measured from [`startTime` to `responseEnd`](https://developer.mozilla.org/en-US/docs/Web/API/Performance_API/Resource_timing). |
5252
| Server response time | Round-trip time for the device to receive a response from the target. |
5353
| DNS response time | Round-trip time for the DNS query to resolve. |
54-
| HTTP status codes | [Status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status) returned by the target. |
54+
| HTTP status codes | [Status code](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status) returned by the target. |
5555

5656
## Related resources
5757

src/content/docs/ddos-protection/managed-rulesets/http/override-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The action that will be performed for requests that match specific rules of Clou
4848
- API value: _N/A_ (internal rule action that you cannot use in overrides).
4949
- Closes ongoing HTTP connections. This action does not block a request, but it forces the client to reconnect. For HTTP/2 and HTTP/3 connections, the connection will be closed even if it breaks other requests running on the same connection.
5050
- The performed action depends on the HTTP version:
51-
- HTTP/1: set the [`Connection` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection#directives) to `close`.
51+
- HTTP/1: set the [`Connection` header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Connection#directives) to `close`.
5252
- HTTP/2: send a [`GOAWAY` frame](https://datatracker.ietf.org/doc/html/rfc7540#section-6.8) to the client.
5353

5454
- **DDoS Dynamic**

src/content/docs/page-shield/policies/csp-directives.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ The following table lists the supported CSP directives and special values you ca
5151

5252
For more information on CSP directives and their values, refer to the following resources in the MDN documentation:
5353

54-
* [Content-Security-Policy response header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy)
55-
* [CSP source values](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources)
54+
* [Content-Security-Policy response header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy)
55+
* [CSP guide](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP)

src/content/docs/page-shield/reference/csp-header.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ Configuring [log policies](/page-shield/policies/) will add other CSP report-onl
3030

3131
## Related resources
3232

33-
- [Mozilla Developer Network's (MDN) documentation on Content-Security-Policy-Report-Only](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only)
33+
- [Mozilla Developer Network's (MDN) documentation on Content-Security-Policy-Report-Only](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy-Report-Only)

src/content/docs/page-shield/reference/page-shield-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ This `POST` request creates a Page Shield policy with _Log_ action, defining the
450450

451451
All other scripts would trigger a policy violation, but those scripts would not be blocked.
452452

453-
For more information on <GlossaryTooltip term="content security policy (CSP)">Content Security Policy (CSP)</GlossaryTooltip> directives and values, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy).
453+
For more information on <GlossaryTooltip term="content security policy (CSP)">Content Security Policy (CSP)</GlossaryTooltip> directives and values, refer to the [MDN documentation](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy).
454454

455455
:::note
456456

0 commit comments

Comments
 (0)