Fwd: [erlang-questions] Re: http or httpc?

Attila Rajmund Nohl attila.r.nohl@REDACTED
Thu Apr 29 11:30:00 CEST 2010


I wanted to send this e-mail to the list...

---------- Forwarded message ----------
From: Attila Rajmund Nohl <attila.r.nohl@REDACTED>
Date: Thu, 29 Apr 2010 11:29:30 +0200
Subject: Re: [erlang-questions] Re: http or httpc?
To: Tim Fletcher <mail@REDACTED>

2010/4/29, Tim Fletcher <mail@REDACTED>:
>> There's 2 http clients coming Erlang:
>> * http
>> * httpc
>
> The httpc module is the actual http client implementation, the http
> module is a thin API wrapper.
>
>> Which one is recommended?
>
> Use the http module unless you have a good reason not to:
>
> http://www.erlang.org/doc/apps/inets/http_client.html#id2260841

I think that's documentation that wasn't updated. The http module is
not even documented in the module list, and as far as I know, it's
just a backward-compatible interface. New code should use httpc.


More information about the erlang-questions mailing list