diff options
author | Bruce Yinhe <[email protected]> | 2014-08-27 10:49:10 +0200 |
---|---|---|
committer | Bruce Yinhe <[email protected]> | 2014-08-27 11:04:14 +0200 |
commit | 4a0f4a124d2a7be85e4bf77c58e31344f11f40bd (patch) | |
tree | c7ed5f2408ddfaa439686ec98b7f2867d7a56e58 /lib/inets/src | |
parent | 885011a731cf86fb1e1369d2dc00b890e026dc49 (diff) | |
parent | d4813b7a8a8d5a887deae70f7f8377796cd62233 (diff) | |
download | otp-4a0f4a124d2a7be85e4bf77c58e31344f11f40bd.tar.gz otp-4a0f4a124d2a7be85e4bf77c58e31344f11f40bd.tar.bz2 otp-4a0f4a124d2a7be85e4bf77c58e31344f11f40bd.zip |
Merge branch 'lpgauth/fix_httpc_doc_typo' into maint
* lpgauth/fix_httpc_doc_typo:
Fix typo in documentation /header_as_is/headers_as_is/
Diffstat (limited to 'lib/inets/src')
-rw-r--r-- | lib/inets/src/http_client/httpc_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl index 5ae6760f08..d152d9f0be 100644 --- a/lib/inets/src/http_client/httpc_handler.erl +++ b/lib/inets/src/http_client/httpc_handler.erl @@ -1793,7 +1793,7 @@ tls_tunnel_request(#request{headers = Headers, host_header(#http_request_h{host = Host}, _) -> Host; -%% Handles header_as_is +%% Handles headers_as_is host_header(_, URI) -> {ok, {_, _, Host, _, _, _}} = http_uri:parse(URI), Host. |