w3c / webappsec-subresource-integrity

WebAppSec Subresource Integrity
https://w3c.github.io/webappsec-subresource-integrity/
Other
70 stars 35 forks source link

Consider adding integrity attribute to Link header #117

Closed Pyrolistical closed 2 years ago

Pyrolistical commented 2 years ago

The Link header functions similarly to the link tag. https://www.w3.org/wiki/LinkHeader

As shown in the 103 early hints document, the Link header can also used to load cdn resources.

An integrity attribute would bring the Link header up to pair with link tag.

noamr commented 2 years ago

It's already defined for preloads in https://html.spec.whatwg.org/multipage/semantics.html#processing-link-headers