aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-03-29 15:20:48 +0200
committerLoïc Hoguin <[email protected]>2023-03-29 15:20:48 +0200
commit4958af574529464aac797f830e77e742eca74964 (patch)
tree6f3689e651c248544a36c3e49568f4da1b99eac4
parentb9d4e05be099c972f0fdfc097a2e26d489082402 (diff)
downloadcowboy-4958af574529464aac797f830e77e742eca74964.tar.gz
cowboy-4958af574529464aac797f830e77e742eca74964.tar.bz2
cowboy-4958af574529464aac797f830e77e742eca74964.zip
Update Cowlib to 2.12.1
-rw-r--r--Makefile2
-rw-r--r--rebar.config2
-rw-r--r--test/req_SUITE.erl6
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 2930a49..6d097e1 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
LOCAL_DEPS = crypto
DEPS = cowlib ranch
-dep_cowlib = git https://github.com/ninenines/cowlib 2.11.0
+dep_cowlib = git https://github.com/ninenines/cowlib 2.12.1
dep_ranch = git https://github.com/ninenines/ranch 1.8.0
DOC_DEPS = asciideck
diff --git a/rebar.config b/rebar.config
index 1532343..08bb1ec 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,4 +1,4 @@
{deps, [
-{cowlib,".*",{git,"https://github.com/ninenines/cowlib","2.11.0"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.8.0"}}
+{cowlib,".*",{git,"https://github.com/ninenines/cowlib","2.12.1"}},{ranch,".*",{git,"https://github.com/ninenines/ranch","1.8.0"}}
]}.
{erl_opts, [debug_info,warn_export_vars,warn_shadow_vars,warn_obsolete_guard,warn_missing_spec,warn_untyped_record]}.
diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl
index 352b2a0..a393c08 100644
--- a/test/req_SUITE.erl
+++ b/test/req_SUITE.erl
@@ -768,18 +768,18 @@ set_resp_cookie(Config) ->
doc("Response using set_resp_cookie."),
%% Single cookie, no options.
{200, Headers1, _} = do_get("/resp/set_resp_cookie3", Config),
- {_, <<"mycookie=myvalue; Version=1">>}
+ {_, <<"mycookie=myvalue">>}
= lists:keyfind(<<"set-cookie">>, 1, Headers1),
%% Single cookie, with options.
{200, Headers2, _} = do_get("/resp/set_resp_cookie4", Config),
- {_, <<"mycookie=myvalue; Version=1; Path=/resp/set_resp_cookie4">>}
+ {_, <<"mycookie=myvalue; Path=/resp/set_resp_cookie4">>}
= lists:keyfind(<<"set-cookie">>, 1, Headers2),
%% Multiple cookies.
{200, Headers3, _} = do_get("/resp/set_resp_cookie3/multiple", Config),
[_, _] = [H || H={<<"set-cookie">>, _} <- Headers3],
%% Overwrite previously set cookie.
{200, Headers4, _} = do_get("/resp/set_resp_cookie3/overwrite", Config),
- {_, <<"mycookie=overwrite; Version=1">>}
+ {_, <<"mycookie=overwrite">>}
= lists:keyfind(<<"set-cookie">>, 1, Headers4),
ok.