Skip to content

Commit 985893d

Browse files
committed
Remove the manifest section
The idea of this PR is that the "core" Web Bundles specification does not include the manifest sections, but that these sections can be defined in other documents. The motivation is to factor the Web Bundles specification to include just the minimal amount needed to support cases like subresource loading. Subresource loading does not need a manifest. Adapted from WICG/webpackage#619
1 parent 2012686 commit 985893d

File tree

1 file changed

+2
-25
lines changed

1 file changed

+2
-25
lines changed

draft-ietf-wpack-bundled-responses.md

+2-25
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ author:
1818
1919

2020
normative:
21-
appmanifest: W3C.WD-appmanifest-20180523
2221
CBORbis: RFC8949
2322
CDDL: RFC8610
2423
FETCH:
@@ -220,7 +219,6 @@ sections:
220219

221220
* `"index"` ({{index-section}})
222221
* `"primary"` ({{primary-section}})
223-
* `"manifest"` ({{manifest-section}})
224222
* `"critical"` ({{critical-section}})
225223
* `"responses"` ({{responses-section}})
226224

@@ -302,26 +300,6 @@ primary = whatwg-url
302300
The "primary" section records a single URL identifying the primary URL of the
303301
bundle. The URL MUST refer to a resource with representations contained in the bundle itself.
304302

305-
### The manifest section {#manifest-section}
306-
307-
~~~ cddl
308-
manifest = whatwg-url
309-
~~~
310-
311-
The "manifest" section records a single URL identifying the manifest of the
312-
bundle. The URL MUST refer to a resource with representations contained in the bundle itself.
313-
314-
The bundle can contain multiple representations at this URL, and the client is
315-
expected to content-negotiate for the best one. For example, a client might
316-
select the one matching an `accept` header of `application/manifest+json`
317-
({{appmanifest}}) and an `accept-language` header of `es-419`.
318-
319-
Many bundles have a choice between identifying their manifest in this section or
320-
in their primary resource, especially if that resource is an HTML file.
321-
Identifying the manifest in this section can help recipients apply fields in the
322-
manifest sooner, for example to show a splash screen before parsing the primary
323-
resource.
324-
325303
### The critical section {#critical-section}
326304

327305
~~~ cddl
@@ -417,8 +395,8 @@ following strategies:
417395
submitting content or existing signatures reaching a certain age, rather than
418396
in response to untrusted-reader queries.
419397
1. Do all of:
420-
1. If the bundle's contained URLs (e.g. in the manifest and index) are
421-
derived from the request for the bundle,
398+
1. If the bundle's contained URLs (e.g. in the index) are derived from the
399+
request for the bundle,
422400
[percent-encode](https://url.spec.whatwg.org/#percent-encode) ({{URL}})
423401
any bytes that are greater than 0x7E or are not [URL code
424402
points](https://url.spec.whatwg.org/#url-code-points) ({{URL}}) in these
@@ -514,7 +492,6 @@ Initial Assignments:
514492
| Section Name | Specification |
515493
| "index" | {{index-section}} |
516494
| "primary" | {{primary-section}} |
517-
| "manifest" | {{manifest-section}} |
518495
| "critical" | {{critical-section}} |
519496
| "responses" | {{responses-section}} |
520497

0 commit comments

Comments
 (0)