Re: [whatwg/fetch] Http cache (#496)

mnot commented on this pull request.



>  
- <li>
-  <p>If <var>response</var>'s <a for=response>status</a> is <code>304</code> and
-  <var>httpRequest</var>'s <a for=request>cache mode</a> is either
-  "<code>default</code>" or "<code>no-cache</code>", run these substeps:
+   <li><p>If <var>httpRequest</var>'s <var>method</var> is unsafe and <var>forwardResponse</var>'s
+   <a for=response>status</a> begins with <code>2</code> or <code>3</code>, invalidate appropriate
+   stored responses in the HTTP cache, as per the 
+   "<a href=https://tools.ietf.org/html/rfc7234#section-4.4>Invalidation</a>" chapter of 
+   <cite>HTTP Caching</cite> [[!HTTP-CACHING]], and set <var>storedResponse</var> to null.

Hm. I can reference the part of HTTP that defines the registry:
  http://httpwg.org/specs/rfc7231.html#method.registry
... or I can reference the registry directly:
  http://www.iana.org/assignments/http-methods/http-methods.xhtml

Preference?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/496#discussion_r103810096

Received on Wednesday, 1 March 2017 22:48:53 UTC