W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1996

Re: HTTP/1.1 draft 12 aug 1996 and content encodings

From: Roy T. Fielding <fielding@liege.ICS.UCI.EDU>
Date: Mon, 16 Sep 1996 02:20:48 -0700
To: Nicolai Langfeldt <janl@ifi.uio.no>
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <9609160220.aa19991@paris.ics.uci.edu>
> 1. > GET index.html.gz
>    < Content-type: text/html
>    < Content-encoding: gzip
> 
>    This is _only_ usefull for simple decoding in the client.  But it
>    requires knowledge of filename conventions if you want to determine
>    if the server has done content negociation or not, and wether to
>    save the document encoded or decoded to disk, in a automated
>    manner.

Filename conventions are irrelevant in HTTP.  In order for your application
to work correctly, it must obey the same constraints as any cache.
That means the client must map URLs to responses, not filenames.
How the application stores things locally is application-dependent, but
there are sufficient clues given by Content-Location and Vary such
that it can indeed know whether or not negotiation was used.


 ...Roy T. Fielding
    Department of Information & Computer Science    (fielding@ics.uci.edu)
    University of California, Irvine, CA 92697-3425    fax:+1(714)824-4056
    http://www.ics.uci.edu/~fielding/
Received on Monday, 16 September 1996 02:28:01 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:13 EDT