diff options
author | Loïc Hoguin <[email protected]> | 2019-01-02 15:08:45 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-01-02 15:08:45 +0100 |
commit | 8a30f96cf19f9104e3ae8df5f85df33b66b5bfc2 (patch) | |
tree | d3e88a75756d45ab41bbf78ab8cb909107a55c2e /src/gun_http.erl | |
parent | ca0db57a30c4978f0291ef7900962ed9b8de005d (diff) | |
download | gun-8a30f96cf19f9104e3ae8df5f85df33b66b5bfc2.tar.gz gun-8a30f96cf19f9104e3ae8df5f85df33b66b5bfc2.tar.bz2 gun-8a30f96cf19f9104e3ae8df5f85df33b66b5bfc2.zip |
Don't send the default port in the host header for HTTP/2
Diffstat (limited to 'src/gun_http.erl')
-rw-r--r-- | src/gun_http.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gun_http.erl b/src/gun_http.erl index 29ba758..313671a 100644 --- a/src/gun_http.erl +++ b/src/gun_http.erl @@ -28,6 +28,9 @@ -export([down/1]). -export([ws_upgrade/7]). +%% Functions shared with gun_http2. +-export([host_header/3]). + -type io() :: head | {body, non_neg_integer()} | body_close | body_chunked | body_trailer. %% @todo Make that a record. |