You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently building a site using actix-web, which relies on the http crate for strongly-typed header constants, and I noticed that there are a couple of headers which don't yet have constants here, forcing me to resort to manually specifying them as strings.
As these headers need to be set to enable access to browser features like SharedArrayBuffer and un-throttled performance timers, I think it'd make sense to add CROSS_ORIGIN_EMBEDDER_POLICY and CROSS_ORIGIN_OPENER_POLICY constants.
The text was updated successfully, but these errors were encountered:
Ooops, sorry, I got header constants and status code constants confused, folks. Please ignore me.
Are these now also in the IANA list? That list is the only one claimed to be completely covered here. See #453 for background (also a good template for a new PR, I hope).
I'm currently building a site using actix-web, which relies on the http crate for strongly-typed header constants, and I noticed that there are a couple of headers which don't yet have constants here, forcing me to resort to manually specifying them as strings.
Specifically:
Cross-Origin-Embedder-Policy
Cross-Origin-Opener-Policy
As these headers need to be set to enable access to browser features like
SharedArrayBuffer
and un-throttled performance timers, I think it'd make sense to addCROSS_ORIGIN_EMBEDDER_POLICY
andCROSS_ORIGIN_OPENER_POLICY
constants.The text was updated successfully, but these errors were encountered: