Skip to content

Commit d762010

Browse files
bakkotestelle
authored andcommitted
Add 'json' as a value for Sec-Fetch-Dest (#42160)
Add 'json' as a value for sec-fetch-dest
1 parent e5a75db commit d762010

File tree

1 file changed

+3
-0
lines changed
  • files/en-us/web/http/reference/headers/sec-fetch-dest

1 file changed

+3
-0
lines changed

files/en-us/web/http/reference/headers/sec-fetch-dest/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Sec-Fetch-Dest: font
4444
Sec-Fetch-Dest: frame
4545
Sec-Fetch-Dest: iframe
4646
Sec-Fetch-Dest: image
47+
Sec-Fetch-Dest: json
4748
Sec-Fetch-Dest: manifest
4849
Sec-Fetch-Dest: object
4950
Sec-Fetch-Dest: paintworklet
@@ -86,6 +87,8 @@ Servers should ignore this header if it contains any other value.
8687
- : The destination is an iframe. This might originate from an HTML {{HTMLElement("iframe")}} tag.
8788
- `image`
8889
- : The destination is an image. This might originate from an HTML {{HTMLElement("img")}}, SVG {{SVGElement("image")}}, CSS {{cssxref("background-image")}}, CSS {{cssxref("cursor")}}, CSS {{cssxref("list-style-image")}}, etc.
90+
- `json`
91+
- : The destination is JSON. This might originate from [importing a module from JavaScript with the `type: "json"` attribute](/en-US/docs/Web/JavaScript/Reference/Statements/import/with#importing_json_modules_with_the_type_attribute).
8992
- `manifest`
9093
- : The destination is a manifest. This might originate from an HTML [\<link rel=manifest>](/en-US/docs/Web/HTML/Reference/Attributes/rel/manifest).
9194
- `object`

0 commit comments

Comments
 (0)