From 048224a888b3331796e66dd974c6d75234e09036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 27 Jul 2020 17:24:16 +0200 Subject: Add HTTP/2 CONNECT tests with Cowboy as origin --- src/gun.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gun.erl') diff --git a/src/gun.erl b/src/gun.erl index 00e2d82..8b0b78d 100644 --- a/src/gun.erl +++ b/src/gun.erl @@ -1464,6 +1464,7 @@ commands([{set_cookie, _, _, _, _}|Tail], State=#state{cookie_store=undefined}) commands([{set_cookie, _, _, Status, _}|Tail], State=#state{opts=#{cookie_ignore_informational := true}}) when Status >= 100, Status =< 199 -> commands(Tail, State); +%% @todo Make sure this works for proxied requests too. commands([{set_cookie, Authority, PathWithQs, _, Headers}|Tail], State=#state{ transport=Transport, cookie_store=Store0}) -> Scheme = case Transport of -- cgit v1.2.3