You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/04/28 13:24:07 UTC
couchdb commit: updated refs/heads/1.x.x to 6e0202c
Repository: couchdb
Updated Branches:
refs/heads/1.x.x 0035f8e33 -> 6e0202cc7
Week of day for past expiration date 1990-01-01 is Monday
Fixes COUCHDB-2677
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6e0202cc
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6e0202cc
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6e0202cc
Branch: refs/heads/1.x.x
Commit: 6e0202cc757f8f8c19250b312d4ac2e25d642a88
Parents: 0035f8e
Author: Samuel Tardieu <sa...@rfc1149.net>
Authored: Tue Apr 28 13:12:42 2015 +0200
Committer: Samuel Tardieu <sa...@rfc1149.net>
Committed: Tue Apr 28 13:12:42 2015 +0200
----------------------------------------------------------------------
share/doc/src/api/server/common.rst | 2 +-
src/couchdb/couch_httpd_misc_handlers.erl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/6e0202cc/share/doc/src/api/server/common.rst
----------------------------------------------------------------------
diff --git a/share/doc/src/api/server/common.rst b/share/doc/src/api/server/common.rst
index 6327dc0..1b90929 100644
--- a/share/doc/src/api/server/common.rst
+++ b/share/doc/src/api/server/common.rst
@@ -952,7 +952,7 @@ structure is as follows:
Content-Type: application/json
Date: Sat, 10 Aug 2013 11:46:25 GMT
ETag: "DGRWWQFLUDWN5MRKSLKQ425XV"
- Expires: Fri, 01 Jan 1990 00:00:00 GMT
+ Expires: Mon, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Server: CouchDB (Erlang/OTP)
http://git-wip-us.apache.org/repos/asf/couchdb/blob/6e0202cc/src/couchdb/couch_httpd_misc_handlers.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_misc_handlers.erl b/src/couchdb/couch_httpd_misc_handlers.erl
index c86f5c7..20a1bf3 100644
--- a/src/couchdb/couch_httpd_misc_handlers.erl
+++ b/src/couchdb/couch_httpd_misc_handlers.erl
@@ -118,7 +118,7 @@ handle_uuids_req(#httpd{method='GET'}=Req) ->
{"Date", couch_util:rfc1123_date()},
{"Cache-Control", "no-cache"},
% Past date, ON PURPOSE!
- {"Expires", "Fri, 01 Jan 1990 00:00:00 GMT"},
+ {"Expires", "Mon, 01 Jan 1990 00:00:00 GMT"},
{"Pragma", "no-cache"},
{"ETag", Etag}
],