couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-2677) Wrong Expires header weekday
Date Tue, 28 Apr 2015 11:23:06 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516837#comment-14516837
] 

ASF subversion and git services commented on COUCHDB-2677:
----------------------------------------------------------

Commit 35bb5ddb4cf66e875755cb93e0718488e73336c7 in couchdb-couch's branch refs/heads/master
from [~sam@rfc1149.net]
[ https://git-wip-us.apache.org/repos/asf?p=couchdb-couch.git;h=35bb5dd ]

Week of day for past expiration date 1990-01-01 is Monday

Fixes COUCHDB-2677


> Wrong Expires header weekday
> ----------------------------
>
>                 Key: COUCHDB-2677
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2677
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: HTTP Interface
>    Affects Versions: 2.0.0, 1.6.1
>            Reporter: Samuel Tardieu
>
> The Expires header returned by /_uuids pretends that Jan. 1st 1990 was a Friday, while
it was a Monday (http://www.timeanddate.com/calendar/?year=1990).
> {code}
> % curl -v http://localhost:5984/_uuids
> *   Trying ::1...
> * Connected to localhost (::1) port 5984 (#0)
> > GET /_uuids HTTP/1.1
> > Host: localhost:5984
> > User-Agent: curl/7.42.0
> > Accept: */*
> > 
> < HTTP/1.1 200 OK
> < Server: CouchDB/1.6.1 (Erlang OTP/17)
> < Pragma: no-cache
> < Expires: Fri, 01 Jan 1990 00:00:00 GMT
> < ETag: "6LTRS9X19427AV07PBMVAX1T5"
> < Date: Tue, 28 Apr 2015 10:57:30 GMT
> < Content-Type: text/plain; charset=utf-8
> < Content-Length: 47
> < Cache-Control: must-revalidate, no-cache
> < 
> {"uuids":["a1e0504a69677e3fe4c0d7b65500059b"]}
> {code}
> The HTTP parser in Akka detects this and warns about it:
> {code}
> [WARN] [04/28/2015 12:57:59.649] [canape-test-akka.actor.default-dispatcher-2] [ActorSystem(canape-test)]
Illegal response header: Illegal 'expires' header: Illegal weekday in date 1990-01-01T00:00:00:
is 'Fri' but should be 'Mon'
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message