diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-07-26 15:43:36 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2010-07-26 15:43:36 +0200 |
commit | 3ec69d520fef6e56581a1c993e3247b1225bad4f (patch) | |
tree | 8987d51127b1ab315c4dc7d29dc50a8eed97ce6d /lib | |
parent | 6ec6250f8ad4fd13318d13e566602dccc9f6746f (diff) | |
download | otp-3ec69d520fef6e56581a1c993e3247b1225bad4f.tar.gz otp-3ec69d520fef6e56581a1c993e3247b1225bad4f.tar.bz2 otp-3ec69d520fef6e56581a1c993e3247b1225bad4f.zip |
Fix deprecated references to http:request/4 in edoc
Diffstat (limited to 'lib')
-rw-r--r-- | lib/edoc/src/edoc_lib.erl | 4 |
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) -> |