Skip to content

Commit

Permalink
Use the 'httpc' module instead of 'http' to avoid deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jcomellas committed Feb 16, 2011
1 parent 787f596 commit 9a8a036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/erlsom_lib.erl
Expand Up @@ -744,7 +744,7 @@ prefix(Namespace) ->
%%% slightly modified
%%% --------------------------------------------------------------------
get_url("http://"++_ = URL) ->
case http:request(URL) of
case httpc:request(URL) of
{ok,{{_HTTP,200,_OK}, _Headers, Body}} ->
case http_uri:parse(URL) of
{_Method, _, _Host, _Port, _Path, _Qargs} ->
Expand Down

0 comments on commit 9a8a036

Please sign in to comment.