ETag header string is not quoted
ASK QUESTIONS IN Forums:
specifies that the entity tag should be a quoted string, optionally prefixed by a weakness indicator. Samples tags are given in
Currently, lighttpd outputs an unquoted ETag field.
$ curl -I http://lighttpd.net/download/lighttpd-1.3.13.tar.gz HTTP/1.1 200 OK Date: Fri, 06 May 2005 17:27:14 GMT Last-Modified: Sun, 06 Mar 2005 12:00:21 GMT Content-Length: 680068 ETag: 1443640654 Accept-Ranges: bytes Content-Type: application/x-tgz Server: lighttpd/1.3.13
Updated by Anonymous about 18 years ago
Moreover I suggest using an unsigned variable for the etag, the "-" looks odd.
HTTP/1.0 200 OK Connection: close Date: Wed, 18 May 2005 14:10:53 GMT Last-Modified: Wed, 18 May 2005 14:10:07 GMT Content-Length: 14165 ETag: -1072359074 Accept-Ranges: bytes Content-Type: text/html Server: lighttpd/1.3.13
Updated by jan almost 18 years ago
- Status changed from New to Fixed
- Resolution set to fixed
fixed in r376 and r378, verified by testcase
Also available in: Atom