Permalink
Browse files

Use the 'httpc' module instead of 'http' to avoid deprecation warnings

  • Loading branch information...
jcomellas committed Feb 16, 2011
1 parent 787f596 commit 9a8a03606607719152cb99a63dfeb92bdcf30157
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/erlsom_lib.erl
View
@@ -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} ->

0 comments on commit 9a8a036

Please sign in to comment.