Play sends the HTTP Etag without double quotes

Bug #504488 reported by Leif Singer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Status tracked in 1.0
1.0
Fix Released
Undecided
Erwan Loisant
1.1
Fix Committed
Undecided
Unassigned

Bug Description

The HTTP 1.1 requires the Etags to be enclosed by double-quotes (see here: http://www.apps.ietf.org/rfc/rfc2616.html#sec-14.19). Play doesn't do this -- a random response header with revision r720:

HTTP/1.1 200 OK
Cache-Control: no-cache
Connection: close
Content-Length: 3494
Content-Type: text/html; charset=utf-8
Date: Thu, 07 Jan 2010 22:03:07 GMT
Etag: 1262382981000--1141553607
Last-Modified: Fri, 01 Jan 2010 21:56:21 GMT
Server: Play! Framework;1.1-unstable-r720;dev

The Etag-Header should be:

Etag: "1262382981000--1141553607"

Or, for weak Etags:

Etag: W/"1262382981000--1141553607"

I have a suspicion that this is a bug in Mina, but I'll file it anyway to make sure.

Erwan Loisant (eloisant)
Changed in play:
assignee: nobody → Erwan Loisant (eloisant)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.