Skip to content

Set a more permissive Accept: header for sitemap loading #3242

@barjin

Description

@barjin

Some sitemaps (e.g. https://docs.superjoin.ai/sitemap.xml) return 404 for the current utils/sitemap value of Accept: HTTP header.

accept: 'text/plain, application/xhtml+xml, application/xml;q=0.9, */*;q=0.8',

Investigate why this was required in the first place (maybe it actually wasn't). If it wasn't, switch the accept header to something more permissive (e.g. */*) or remove it completely.

Additional context:

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions