![]() |
От: | DemAS | http://demas.me |
Дата: | 12.07.09 03:58 | ||
Оценка: |
-module(amazon).
-export([some/0]).
some()->
{ok, {_, _, Body}} = http:request("http://www.ya.ru"),
Body.
18> amazon:some().
** exception exit: {noproc,{gen_server,call,
[httpc_manager,
{request,{request,undefined,<0.88.0>,0,http,
{"www.ya.ru",80},
"/",[],get,
{http_request_h,undefined,"keep-alive",undefined,undefined,
undefined,undefined,undefined,undefined,undefined,...},
{[],[]},
{http_options,"HTTP/1.1",infinity,true,[],undefined,false},
"http://www.ya.ru",[],none,[]}},
infinity]}}
in function gen_server:call/3
in call from http:handle_request/6
in call from amazon:some/0