Skip to content

Conversation

@bakkot
Copy link
Contributor

@bakkot bakkot commented Nov 28, 2025

Description

The docs for the Sec-Fetch-Dest header were missing the valid value json. This fixes adds it.

I wasn't totally sure how best to link to the docs for JSON imports. I did something which works but if there's a better way feel free to push it up.

Motivation

Match spec.

Additional details

See fetch spec for request destinations, and fetch metadata spec for the bit which says that this is reflected in the Sec-Fetch-Dest header.

Related issues and pull requests

None that I could find.

@bakkot bakkot requested a review from a team as a code owner November 28, 2025 20:56
@bakkot bakkot requested review from bsmth and removed request for a team November 28, 2025 20:56
@github-actions github-actions bot added Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed labels Nov 28, 2025
@github-actions
Copy link
Contributor

Preview URLs

Flaws (3)

URL: /en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Dest
Title: Sec-Fetch-Dest header
Flaw count: 3

  • unknown:
    • No generic content config found
    • no blog root
    • no blog root

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thank you @bakkot !

@wbamberg wbamberg merged commit 35cd667 into mdn:main Nov 29, 2025
7 checks passed
estelle pushed a commit that referenced this pull request Dec 1, 2025
Add 'json' as a value for sec-fetch-dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTTP HTTP docs size/xs [PR only] 0-5 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants