[erlang-questions] why this error?
Michael McDaniel
erlangy@REDACTED
Mon May 3 18:13:57 CEST 2010
On Mon, May 03, 2010 at 10:05:01AM -0600, Wes James wrote:
> {ok,{Status,Header,Body}}=http:request(URL).
> ** exception error: no match of right hand side value
> {ok,{{"HTTP/1.1",200,"OK"},
>
<znip>
>
> What am I missing?
>
> -wes
>
___________________________________________________________________________
presumably you are doing this from the shell, see how this works ...
f(Status), f(Header), f(Body), {ok,{Status,Header,Body}}=http:request(URL).
~Michael
More information about the erlang-questions
mailing list