anchor.diff:          ]}}
       ].
   
  +custom_cors_config() ->
  +    [
  +        {<<"enable_cors">>, true},
  +        {<<"allow_methods">>, ?CUSTOM_SUPPORTED_METHODS},
  +        {<<"allow_headers">>, ?CUSTOM_SUPPORTED_HEADERS},
  +        {<<"exposed_headers">>, ?CUSTOM_EXPOSED_HEADERS},
  +        {<<"origins">>, {[
  +            {<<"*">>, {[]}}
  +        ]}}
  +    ].
   
   access_control_cors_config(AllowCredentials) ->
       [
  
positive.code:         ?_assertEqual("true",
              header(Headers1, "Access-Control-Allow-Credentials"))
      ].
  
negative.code:                 fun test_case_sensitive_mismatch_of_allowed_origins_/1
              ]}}.
  
  cors_enabled_custom_config_test_() ->
      {"Simple CORS config with custom allow_methods/allow_headers/exposed_headers",
          {foreach,
              fun custom_cors_config/0,
              [
                  fun test_good_headers_preflight_request_with_custom_config_/1,
                  fun test_db_request_with_custom_config_/1
              ]}}.
  
  
  cors_enabled_multiple_config_test_() ->
      {"Multiple options CORS config",
  