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/11/11 20:24:31 UTC
[2/28] 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/0a290a7a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/0a290a7a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/0a290a7a
Branch: refs/heads/431-feature-cors
Commit: 0a290a7a39dec60574cfcffa546c157968f331a4
Parents: e32b00a
Author: Jan Lehnardt <ja...@apache.org>
Authored: Thu Nov 8 22:51:06 2012 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Sun Nov 11 16:11:16 2012 +0000
----------------------------------------------------------------------
src/couchdb/couch_httpd_cors.erl | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/0a290a7a/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' ->