aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-07-27 14:58:17 +0200
committerBjörn-Egil Dahlberg <[email protected]>2010-07-27 14:58:17 +0200
commit1d484d1c96dd5111c45e656d20b58f1ae5c24f59 (patch)
treef048b69121b14a529196fb7315e926197b9a7c49
parente79ed3d5d6aaf0be93930c7e22c83202807d0f85 (diff)
parent3ec69d520fef6e56581a1c993e3247b1225bad4f (diff)
downloadotp-1d484d1c96dd5111c45e656d20b58f1ae5c24f59.tar.gz
otp-1d484d1c96dd5111c45e656d20b58f1ae5c24f59.tar.bz2
otp-1d484d1c96dd5111c45e656d20b58f1ae5c24f59.zip
Merge branch 'egil/fix-edoc-deprecations/OTP-8749' into dev
* egil/fix-edoc-deprecations/OTP-8749: Fix deprecated references to http:request/4 in edoc
-rw-r--r--lib/edoc/src/edoc_lib.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_lib.erl b/lib/edoc/src/edoc_lib.erl
index 47e61f7932..5b7fb1e0d2 100644
--- a/lib/edoc/src/edoc_lib.erl
+++ b/lib/edoc/src/edoc_lib.erl
@@ -472,7 +472,7 @@ uri_get_file(File0) ->
uri_get_http(URI) ->
%% Try using option full_result=false
- case catch {ok, http:request(get, {URI,[]}, [],
+ case catch {ok, httpc:request(get, {URI,[]}, [],
[{full_result, false}])} of
{'EXIT', _} ->
uri_get_http_r10(URI);
@@ -482,7 +482,7 @@ uri_get_http(URI) ->
uri_get_http_r10(URI) ->
%% Try most general form of request
- Result = (catch {ok, http:request(get, {URI,[]}, [], [])}),
+ Result = (catch {ok, httpc:request(get, {URI,[]}, [], [])}),
uri_get_http_1(Result, URI).
uri_get_http_1(Result, URI) ->