You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2012/12/04 21:43:49 UTC
[20/44] git commit: max age is already configurable, remove TODO item
max age is already configurable, remove TODO item
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/f35e5374
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/f35e5374
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/f35e5374
Branch: refs/heads/1368-fix-multipart-header-parts
Commit: f35e5374884bb506d64e4e26aee994da24b176c9
Parents: 07ed30f
Author: Jan Lehnardt <ja...@apache.org>
Authored: Thu Nov 8 22:51:06 2012 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Nov 8 23:37:34 2012 +0100
----------------------------------------------------------------------
src/couchdb/couch_httpd_cors.erl | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/f35e5374/src/couchdb/couch_httpd_cors.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_httpd_cors.erl b/src/couchdb/couch_httpd_cors.erl
index c3caa5c..d7ffe2d 100644
--- a/src/couchdb/couch_httpd_cors.erl
+++ b/src/couchdb/couch_httpd_cors.erl
@@ -31,7 +31,6 @@
"TRACE, CONNECT, COPY, OPTIONS").
% TODO: - pick a sane default
-% - make configurable
-define(CORS_DEFAULT_MAX_AGE, 12345).
is_preflight_request(#httpd{method=Method}=Req) when Method /= 'OPTIONS' ->