aboutsummaryrefslogtreecommitdiffstats
path: root/test/cowboy_test.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-12-06 14:38:27 +0100
committerLoïc Hoguin <[email protected]>2017-12-06 14:38:27 +0100
commit1f4c1e2c67fc343daafba3445a649e5273fdb557 (patch)
treeafc2749ed46c90b6046663f0a4cb41412e9162ef /test/cowboy_test.erl
parentbc39b433bb20c44690b75bf28539983517002268 (diff)
downloadcowboy-1f4c1e2c67fc343daafba3445a649e5273fdb557.tar.gz
cowboy-1f4c1e2c67fc343daafba3445a649e5273fdb557.tar.bz2
cowboy-1f4c1e2c67fc343daafba3445a649e5273fdb557.zip
Add more rfc7231 tests
Diffstat (limited to 'test/cowboy_test.erl')
-rw-r--r--test/cowboy_test.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl
index 23185b4..8bd808a 100644
--- a/test/cowboy_test.erl
+++ b/test/cowboy_test.erl
@@ -112,7 +112,8 @@ gun_open(Config, Opts) ->
retry => 0,
transport => config(type, Config),
transport_opts => proplists:get_value(transport_opts, Config, []),
- protocols => [config(protocol, Config)]
+ protocols => [config(protocol, Config)],
+ http_opts => proplists:get_value(http_opts, Config, #{})
}),
ConnPid.