W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [widgets] ETags and Automatic updates

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 03 Jul 2008 07:34:13 +0200
Message-ID: <486C64D5.3020302@gmx.de>
To: Marcos Caceres <marcosscaceres@gmail.com>
CC: mike amundsen <mca@amundsen.com>, Web Applications Working Group WG <public-webapps@w3.org>

Marcos Caceres wrote:
> On Wed, Jul 2, 2008 at 10:17 PM, mike amundsen <mca@amundsen.com> wrote:
>> Marcos:
>>
>> <snip>
>>> I'm sure it could be done. But how can this be done easily with Apache or IIS?
>> </snip>
>>
>> Since Apache and IIS are HTTP servers, you can use the HTTP Headers to
>> send hash data. Using the ETag is the most common, but if you like,
>> you can propose a new HTTP Header ("X-Widget-Hash").
> 
> I know I should be able to do to send HTTP headers, but the question
> is still *how*? I mean, for Apache, do I modify the .htaccess file? if
> so, what do I put in there? If I can get a web server to send a custom
> ETag or Widget-Hash easily enough, then the solution is doable so long
> as its also easy to replicate in IIS and on any other web server.

*Sending* a custom etag is not sufficient; Apache needs to be aware of 
it, otherwise all the conditional HTTP stuff will stop working.

> FWIW, if it comes down to having to introduce a custom HTTP header,
> then I definitely think we should dump this solution.

What about Content-MD5?

> ...

BR, Julian
Received on Thursday, 3 July 2008 05:35:09 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT