From d2a20de658b71cd4aeca481d385976adf3a1d19b Mon Sep 17 00:00:00 2001 From: Erik Wilde Date: Thu, 18 May 2017 09:24:03 +0200 Subject: [PATCH 1/4] adding IANA considerations section starting work on #1134 --- docs/v1/index.bs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/v1/index.bs b/docs/v1/index.bs index ab377fa7..9fae0183 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -2049,6 +2049,13 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe +
+

IANA Considerations

+ +

The following registrations are for community review and will be submitted to the IESG for review, approval, and registration with IANA.

+ +
+

Appendix A: Algorithms

@@ -3155,4 +3162,4 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe The authors would also like to thank Dimitri Glazkov for his scripts and formatting tools which have been essential in the production of this specification. The authors are also grateful for his considerable guidance. Thanks also to Vivian Cromwell, Greg Simon, Alex Komoroske, Wonsuk Lee, and Seojin Kim for their considerable professional support. -
\ No newline at end of file + From dbe0e7e6c9d343d13b454da6182df274a39e71b1 Mon Sep 17 00:00:00 2001 From: Erik Wilde Date: Mon, 29 May 2017 11:06:43 +0200 Subject: [PATCH 2/4] changing appendix name/id to highlight that it defines new header fields --- docs/v1/index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/v1/index.bs b/docs/v1/index.bs index 9fae0183..543ab37b 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -2248,7 +2248,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe 1. Append \`Service-Worker\`/\`script\` to |request|'s [=request/header list=]. - Note: See the definition of the Service-Worker header in Appendix B: Extended HTTP headers. + Note: See the definition of the Service-Worker header in Appendix B: HTTP header fields. 1. Set |request|'s [=request/cache mode=] to "no-cache" if any of the following are true: * |registration|'s [=service worker registration/use cache=] is false. @@ -2266,7 +2266,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe 1. Asynchronously complete these steps with a [=network error=]. 1. Let |serviceWorkerAllowed| be the result of [=extracting header list values=] given \`Service-Worker-Allowed\` and |response|'s [=response/header list=]. - Note: See the definition of the Service-Worker-Allowed header in Appendix B: Extended HTTP headers. + Note: See the definition of the Service-Worker-Allowed header in Appendix B: HTTP header fields. 1. Set |httpsState| to |response|'s [=response/HTTPS state=]. 1. Set |referrerPolicy| to the result of parse a referrer policy from a Referrer-Policy header of |response|. @@ -3062,7 +3062,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
-

Appendix B: Extended HTTP headers

+

Appendix B: HTTP header fields

Service Worker Script Request

From 1a879ed60192f23b56b925d75ccd8e9e98f02cbd Mon Sep 17 00:00:00 2001 From: Erik Wilde Date: Mon, 29 May 2017 11:08:46 +0200 Subject: [PATCH 3/4] changing sub-section names --- docs/v1/index.bs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/v1/index.bs b/docs/v1/index.bs index 543ab37b..a7ad53f7 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -3065,7 +3065,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe

Appendix B: HTTP header fields

-

Service Worker Script Request

+

HTTP Header Field Service-Worker

An HTTP request to [=/fetch=] a [=/service worker=]'s script resource will include the following header: @@ -3076,7 +3076,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
-

Service Worker Script Response

+

HTTP Header Field Service-Worker-Allowed

An HTTP response to a [=/service worker=]'s script resource request can include the following header: From b96674a3f1afbdb5ddab2ee3e05148b2c1634bce Mon Sep 17 00:00:00 2001 From: Erik Wilde Date: Mon, 29 May 2017 11:17:57 +0200 Subject: [PATCH 4/4] adding registration templates --- docs/v1/index.bs | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/v1/index.bs b/docs/v1/index.bs index a7ad53f7..f421703e 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -2054,6 +2054,29 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe

The following registrations are for community review and will be submitted to the IESG for review, approval, and registration with IANA.

+
+

HTTP Header Field Service-Worker

+
    +
  • Header Field Name: Service-Worker
  • +
  • Applicable Protocol: Hypertext Transfer Protocol (HTTP)
  • +
  • Status: Standard
  • +
  • Author/Change controller: W3C
  • +
  • Specification document(s): https://www.w3.org/TR/service-workers-1/
  • +
+
+ +
+

HTTP Header Field Service-Worker-Allowed

+ +
    +
  • Header Field Name: Service-Worker-Allowed
  • +
  • Applicable Protocol: Hypertext Transfer Protocol (HTTP)
  • +
  • Status: Standard
  • +
  • Author/Change controller: W3C
  • +
  • Specification document(s): https://www.w3.org/TR/service-workers-1/
  • +
+
+