RE: HTTP Instance Digests and encoding

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