Skip to content

Send the CSS Accept header for stylesheet requests - #1758

Open
zhangzhaohong-dev wants to merge 1 commit into
DioxusLabs:mainfrom
zhangzhaohong-dev:fix/stylesheet-accept-header
Open

zhangzhaohong-dev wants to merge 1 commit into
DioxusLabs:mainfrom
zhangzhaohong-dev:fix/stylesheet-accept-header

Conversation

@zhangzhaohong-dev

@zhangzhaohong-dev zhangzhaohong-dev commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Stylesheet requests from link elements and CSS imports now advertise the Fetch default for the style destination, text/css,/;q=0.1. Both paths share the header setup and keep their existing request options.

A recording network provider checks both request paths. The test fails on main because the Accept header is absent and passes with this change. All 10 blitz-dom network unit tests pass.

WPT results

No changes in test results compared to main.

Generated by the WPT workflow.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant