couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couchdb commit: updated refs/heads/1.x.x to 6e0202c
Date Tue, 28 Apr 2015 11:24:07 GMT
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 <sam@rfc1149.net>
Authored: Tue Apr 28 13:12:42 2015 +0200
Committer: Samuel Tardieu <sam@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}
         ],


Mime
View raw message