Re: MUST use Content-Base

>>>>> "KH" == Koen Holtman <koen@win.tue.nl> writes:

KH> Content-Location can be used to do the same thing anyway.

  It turns out that this is not always the case.  Content-Location
  identifies the particular entity being returned, which may not have
  the same location as the things it wishes to reference.  Take for
  example an internationalized tree in which the HTML for each
  language is in a subdirectory but all refer to the same images:

    /foo/welcome.html - negotiates based on language to one of:
         en/welcome.html
         fr/welcome.html
         pl/welcome.html

    but all contain links to images in /foo/images/.

  In this case, in order for caches to operate correctly (properly
  informed by Vary and so forth), the Content-Location must be
  returned by the server set to the version in the subdirectory.

  It also fails for the cases in which there is no Content-Location;
  for example, dynamic content that has no URL returned as a result of
  a form submission.

--
Scott Lawrence           EmWeb Embedded Server       <lawrence@agranat.com>
Agranat Systems, Inc.        Engineering            http://www.agranat.com/

Received on Wednesday, 7 January 1998 11:03:23 UTC