镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add missing headers - #719

Open
39zde wants to merge 5 commits into
hyperium:masterfrom
39zde:master
Open

39zde wants to merge 5 commits into
hyperium:masterfrom
39zde:master

Conversation

@39zde

@39zde 39zde commented Oct 14, 2024

Copy link
Copy Markdown
Contributor

Additions

Add missing cross-origin headers to HeaderName:

  • Cross-Origin-Embedder-Policy
  • Cross-Origin-Opener-Policy
  • Cross-Origin-Resource-Policy

Context

Some of them are a requirement for SharedArrayBuffers

@@ -115,6 +115,9 @@ fn make_all_known_headers() -> Vec<Vec<u8>> {
b"X-Frame-Options".to_vec(),
// common_non_standard_response
b"Content-Security-Policy".to_vec(),

@39zde 39zde Oct 14, 2024 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

what's the definition of a common non standard response in this context?

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