Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

httpc:request changed to http:request (httpc not working on ubuntu

default erlang/otp installation)
  • Loading branch information...
commit 00d1dc2da6b4fe9c38efa3a8bcb539e0c2205427 1 parent 601f2ad
Ivan Koshkin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/rdbl.erl
2  src/rdbl.erl
View
@@ -352,7 +352,7 @@ fetch_page(Url) ->
inets:start(), % TODO: handle errors & not start if already started
ssl:start(),
% TODO: cache page - save to ets by url
- case httpc:request(Url) of
+ case http:request(Url) of
{ok, {_, Hdrs, Body}} ->
case lists:keyfind("content-type", 1, Hdrs) of
{_, ContentType} ->
Please sign in to comment.
Something went wrong with that request. Please try again.