You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by "Walsh, Peter" <Pe...@disney.com> on 2011/12/13 00:41:57 UTC

Does Traffic Server support ETags?

Hello,
Does anyone know if Traffic Server supports ETags? http://en.wikipedia.org/wiki/HTTP_ETag

I've looked through the docs and old posts and haven't seen it mentioned.

- Pete Walsh


Re: Does Traffic Server support ETags?

Posted by Leif Hedstrom <zw...@apache.org>.
On 12/12/11 4:41 PM, Walsh, Peter wrote:
>
> Hello,
>
> Does anyone know if Traffic Server supports ETags? 
> http://en.wikipedia.org/wiki/HTTP_ETag
>
> I’ve looked through the docs and old posts and haven’t seen it mentioned.
>
>


It should, does it not work for you? I did a quick test, and it seems to act 
as I'd expect in this simple setup:

bladez (10:02) 460/0 $ curl -D - -o /dev/null -s -H "If-None-Match: 
219-47-4876223e3405a" http://bladez.ogre.com/httpd/foo.txt
HTTP/1.1 304 Not Modified
Date: Wed, 14 Dec 2011 17:03:27 GMT
Etag: "219-47-4876223e3405a"
Connection: keep-alive
Server: ATS/3.1.2-unstable
.

-- Leif