<div dir="ltr">Hi!<br><br>I'm looking for a HTTP client with HTTP sessions support. <br>That means it should store and properly use session cookies and follow redirects.<br><br>Options:<br><br>1. httpc - standard app, has cookies store, redirects. Main problem is that it uses heavyweight profiles to isolate sessions,<br>So for each session I will need to create an atom (for name) and also a profile ETS table will be created. One possible workaround<br>is to use some kind of pool of predefined httpc profiles, flushing cookies on each session start. This will not work good for long running sessions though.<br>2. lhttpc - it seems to be closed<br>3. hackney - has redirects, but no cookie store, also definitely need some work on cookie processing code - looks like it uses outdated implementation<br>from some http _server_, so it has parser for 'cookie' header and builder for 'set-cookie'.<br>4. ibrowse - doesn't have session support (redirects, cookies)<br>5. gun - battle tested, low-level, no session support<br>6. xhttpc (<a href="https://github.com/seriyps/xhttpc">https://github.com/seriyps/xhttpc</a>) - not widely known, but looks promising, <br>uses layered middleware architecture. <br>Has already implemented middlewares for cookie store (parser based on last RFC6265), redirects, compression.<br>Supports different backends - httpc, hackney, lhttpc. <br><br>I plan to go with xhttpc, maybe implementing backend on top of gun. <br>Any suggestions, am I missing something?<br><br>-- <br>Mikl<br></div>