Incorrect content type headers on hosted schemas
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- infrastructure
Research direction
Start by locating the hosting configuration for www.schemastore.org and inspect the final response for a hosted schema, rather than the initial redirect from json.schemastore.org. Confirm the current Content-Type behavior, then verify that hosted schemas return application/schema+json or application/json without changing the redirect response.
Written by the indexing model from the issue text.
Description
Area with issue?
Web server
✔️ Expected Behavior
Hosted schemas have a Content-Type: application/schema+json (or at least application/json) header.
❌ Actual Behavior
Hosted schemas have a Content-Type: application/octet-stream header.
Fetching json.schemastore.org schemas first redirects to www.schemastore.org (the 301 response has an HTML content type, which is fine, it's just a redirect), but then fetching the schema from www.schemastore.org returns an octet stream content type.
This causes problems for tools that validate the content type, e.g. we had tooling that switched from processing remote schema references as nested schemas to processing the remote references as straight inline text. This started happening some time in May/early-June 2025.
We started relying on local copies of the schemas as a workaround.
JSON, YAML, or TOML file that does not work.
No response
IDE or code editor.
None
Are you making a PR for this?
No, someone else must create the PR.
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 2.4k
- Avg merge
- 12h 34m
- Merged PRs (30d)
- 134
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SchemaStore/schemastore
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
SchemaStore/schemastore#6712 ·
Maintainers usually reply within 1 day
-
claude-code-settings: serverName pattern rejects the documented plugin: and claude.ai connector namesPossibly taken @PandaHUN777 claimed this 53 days ago. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
SchemaStore/schemastore#6430 ·
Maintainers usually reply within 1 day
-
claude-code-settings: add `permissions.blockReadsOutsideWorkingDirectories`Possibly taken @Solaris-star claimed this 46 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
SchemaStore/schemastore#6429 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
SchemaStore/schemastore#6351 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SchemaStore/schemastore#6019 · 4 comments ·
Maintainers usually reply within 1 day
All issues in SchemaStore/schemastore
Similar issues
-
marketing
Difficulty 2/5 Half a day Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Fei2411/DeepSeek-Bot#2090 ·
-
area: ui good first issue javascript priority: medium refactor
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fukubie/StockLlama#49 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sunososobro-hub/cloudball#350 · 2 comments ·
Maintainers usually reply within 1 day
-
wpvc
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
10up/embed-block-figma#101 ·