couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [1/3] chttpd commit: updated refs/heads/master to 0cfd56a
Date Fri, 04 Nov 2016 14:39:28 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 262944f02 -> 0cfd56a64


Remove an unused test's var to avoid a warning


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/44aa0b28
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/44aa0b28
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/44aa0b28

Branch: refs/heads/master
Commit: 44aa0b28ad76706283fa0cf651633a3ecfc40892
Parents: c98d71a
Author: Eric Avdey <eiri@eiri.ca>
Authored: Tue Mar 22 15:29:44 2016 -0300
Committer: Eric Avdey <eiri@eiri.ca>
Committed: Fri Nov 4 09:46:37 2016 -0300

----------------------------------------------------------------------
 test/chttpd_cors_test.erl | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/44aa0b28/test/chttpd_cors_test.erl
----------------------------------------------------------------------
diff --git a/test/chttpd_cors_test.erl b/test/chttpd_cors_test.erl
index 7d86489..19e8515 100644
--- a/test/chttpd_cors_test.erl
+++ b/test/chttpd_cors_test.erl
@@ -349,8 +349,6 @@ test_good_headers_preflight_request_with_custom_config_(OwnerConfig) ->
     ?assert(chttpd_cors:is_cors_enabled(OwnerConfig)),
     AllowMethods = couch_util:get_value(
         <<"allow_methods">>, OwnerConfig, ?SUPPORTED_METHODS),
-    AllowHeaders = couch_util:get_value(
-        <<"allow_headers">>, OwnerConfig, ?SUPPORTED_HEADERS),
     MaxAge = couch_util:get_value(
         <<"max_age">>, OwnerConfig, ?CORS_DEFAULT_MAX_AGE),
     {ok, Headers1} = chttpd_cors:maybe_handle_preflight_request(Req, OwnerConfig),


Mime
View raw message