diff options
author | Loïc Hoguin <[email protected]> | 2020-07-27 17:24:16 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-09-21 15:51:56 +0200 |
commit | 048224a888b3331796e66dd974c6d75234e09036 (patch) | |
tree | 05c8fb099619cd6d8a2cfd57d9dd87fed47686d0 /src/gun.erl | |
parent | 323bd167fd33f322ab8747e398e54a8a36f5b753 (diff) | |
download | gun-048224a888b3331796e66dd974c6d75234e09036.tar.gz gun-048224a888b3331796e66dd974c6d75234e09036.tar.bz2 gun-048224a888b3331796e66dd974c6d75234e09036.zip |
Add HTTP/2 CONNECT tests with Cowboy as origin
Diffstat (limited to 'src/gun.erl')
-rw-r--r-- | src/gun.erl | 1 |
1 files changed, 1 insertions, 0 deletions
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 |