- From: Mike Bishop <Michael.Bishop@microsoft.com>
- Date: Tue, 19 Aug 2014 15:21:34 +0000
- To: HTTP Working Group <ietf-http-wg@w3.org>
Received on Tuesday, 19 August 2014 15:22:06 UTC
Something we remarked on internally a while ago, but I keep forgetting to raise with the WG.... We had a discussion with Martin a long time ago about caching and push - specifically, that you can push a response to a cacheable request, regardless of whether the *response* is cacheable. Martin said (off-list): You'll note that the text does not prohibit what you describe there :) The text says that the request needs to be cacheable. It also says that the method needs to be cacheable. It says nothing about the response. Pushing a response with Cache-Control: nocache is perfectly OK. However, the spec does now prohibit exactly that, in 8.2: A server can only push responses that are cacheable (see [RFC7234]<https://svn.tools.ietf.org/svn/wg/httpbis/specs/rfc7231.html#safe.methods>) and MUST NOT include a request body. I missed when that change happened. Can someone with better git-fu remind me? Was there list discussion?
Received on Tuesday, 19 August 2014 15:22:06 UTC