[2.0] ETag response header field

107 views
Skip to first unread message

Suchema

unread,
May 14, 2012, 1:03:35 PM5/14/12
to play-fr...@googlegroups.com
Hi all!

I think this is a bug, but I thought I'd check here to see if anyone else seems to have had the same issue as well. Basically, we're attempting to use the 'ETag' header, in order to properly enable caching via CDN. However, it looks like the syntax that Play uses is invalid. According to the specification, the value returned for the header should be quoted. So as opposed to this (which we are getting):

ETag: 97811bc72525f2afede67fbdc41fd17c3bd15ac0

we should be getting something that looks like this:

ETag: "97811bc72525f2afede67fbdc41fd17c3bd15ac0"

Is this a known issue? I've checked the open tickets but can't find anything for it.

Cheers,

Suche

Nilanjan

unread,
May 14, 2012, 1:51:37 PM5/14/12
to play-framework
I think it an issue. I noticed that chrome handles it correctly
without quotes but that doesn't mean everyone else will. You should
create a ticket.

Thanks
Nilanjan

Suchema

unread,
May 15, 2012, 10:09:32 AM5/15/12
to play-fr...@googlegroups.com
Ticket created here (FYI).

Cheers!

Suche
Reply all
Reply to author
Forward
0 new messages