Skip to content

Commit 6467864

Browse files
mrinalwadhwaDavid Weldon
authored and
David Weldon
committed
replaced depricated call to http:request/1 with httpc:request/1
1 parent dd958ac commit 6467864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/erlsom_lib.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ prefix(Namespace) ->
743743
%%% slightly modified
744744
%%% --------------------------------------------------------------------
745745
get_url("http://"++_ = URL) ->
746-
case http:request(URL) of
746+
case httpc:request(URL) of
747747
{ok,{{_HTTP,200,_OK}, _Headers, Body}} ->
748748
case http_uri:parse(URL) of
749749
{_Method, _, _Host, _Port, _Path, _Qargs} ->

0 commit comments

Comments
 (0)