[erlang-questions] HTTP client with sessions support
Fri Jun 12 14:19:40 CEST 2015
On Fri, Jun 12, 2015 at 1:39 AM, Loïc Hoguin <> wrote:
> Right we do want to have a cookie store later on. I am not sure how this
> is supposed to look yet though. Suggestions welcome, I believe there is a
> ticket for it.
I'm afraid it will not be easy to find solution that will fit all user
Someone need few huge client sessions, keeping cookies for many sites in
ETS or even SQL database.
It seems httpc optimized for this use case.
In my case I need many tiny isolated sessions, so it is possible to have
session store in state.
That's why I like xhttpc approach - you get some stable API and can use
different implementations for
say cookie store that fits your needs.
> Redirects, I am not too sure, it's fairly application-dependent (for
> example I doubt you'd want to redirect automatically every time after a
> successful POST to a REST API).
Regarding redirects, it of course has its caveats but it should just work
for some main cases.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions