diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gun_http.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun_http.erl b/src/gun_http.erl index ec459a3..e6b597c 100644 --- a/src/gun_http.erl +++ b/src/gun_http.erl @@ -374,6 +374,7 @@ host_header(Transport, Host0, Port) -> Host = case Host0 of {local, _SocketPath} -> <<>>; Tuple when is_tuple(Tuple) -> inet:ntoa(Tuple); + Atom when is_atom(Atom) -> atom_to_list(Atom); _ -> Host0 end, case {Transport:name(), Port} of |