aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/src/http_client/httpc.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inets/src/http_client/httpc.erl')
-rw-r--r--lib/inets/src/http_client/httpc.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/inets/src/http_client/httpc.erl b/lib/inets/src/http_client/httpc.erl
index 5ed2d98ba6..2c51c2081c 100644
--- a/lib/inets/src/http_client/httpc.erl
+++ b/lib/inets/src/http_client/httpc.erl
@@ -585,6 +585,10 @@ maybe_encode_uri(#http_options{url_encode = true}, URI) ->
maybe_encode_uri(_, URI) ->
URI.
+uri_parse(AbsURI) ->
+ http_uri:parse(AbsURI, [{scheme_defaults, [{http, 80}, {https, 443}]}]).
+
+
mk_chunkify_fun(ProcessBody) ->
fun(eof_body) ->
eof;