Skip to content

Commit

Permalink
Merge pull request WICG#711 from hayatoito/subresource-loading-mentio…
Browse files Browse the repository at this point in the history
…n-nosniff

Mention Content-Type and nosniff requirements
  • Loading branch information
hayatoito authored Feb 22, 2022
2 parents 268abb5 + 25d1a50 commit 4795a9c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions explainers/subresource-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ a format that allows multiple resources to be bundled, e.g.
- [Request's destination](#requests-destination)
- [CORS and CORP for subresource requests](#cors-and-corp-for-subresource-requests)
- [Content Security Policy (CSP)](#content-security-policy-csp)
- [Serving constraints](#serving-constraints)
- [Extensions](#extensions)
- [Subsequent loading and Caching](#subsequent-loading-and-caching)
- [Compressed list of resources](#compressed-list-of-resources)
Expand Down Expand Up @@ -276,6 +277,10 @@ Instead of including a list of resources, the `<script>` defines a `scopes`.

Any subresource under the `scopes` will be fetched from the bundle.

## Serving constraints

See the [Serving constraints](https://wpack-wg.github.io/bundled-responses/draft-ietf-wpack-bundled-responses.html#name-serving-constraints)
for response headers which MUST be included when serving Web Bundles over HTTP.

## Extensions

Expand Down Expand Up @@ -327,9 +332,6 @@ for the motivation. Note that some of the following alternate designs
were proposed at the era of `<link>`-based API. This explainer doesn't
rewrite them with `<script>`-based API yet.

Note that Chromium's experimental implementation currently supports
only `<link>`-based API as of M95.

### Resource Bundles

A [resource bundle] is the same effort, with a particular scope. A
Expand Down

0 comments on commit 4795a9c

Please sign in to comment.