W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2018

RE: HTTP Instance Digests and encoding

From: Lucas Pardue <Lucas.Pardue@bbc.co.uk>
Date: Mon, 21 May 2018 09:46:30 +0000
To: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <7CF7F94CB496BF4FAB1676F375F9666A3BB3EF9B@bgb01xud1012>
Hi Amos,

Thanks for the response! This clarifies things for me.
  
> Each of your objects has two digests to compute. Just like it has two
> deliverable variants for each resource; C-E:gzip and C-E:identity (aka no C-E).
> 
> If you want to use gzip as instance manipulation that makes it Transfer-
> Encoding, *not* Content-Encoding.

To ask a simple question using an example, is the following behaviour valid?

1) An origin server is configured to serve the file example.txt with either C-E:identity or C-E:gzip. 
2) Client requests example.txt with Accept-Encoding: gzip request header.
3) Server performs "on-demand" gzip compression, server calculates an instance digest on the results. Server may cache the result of this operation (implementation and configuration dependent).
4) Server adds Content-Encoding and Digest response headers.

Kind regards
Lucas
Received on Monday, 21 May 2018 09:47:09 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 2 February 2023 18:43:59 UTC