[Haskell-cafe] Network.Browser and Network.TLS

Felipe Almeida Lessa felipe.lessa at gmail.com
Mon Jan 16 21:34:44 CET 2012

On Mon, Jan 16, 2012 at 6:28 PM, Myles C. Maxfield
<myles.maxfield at gmail.com> wrote:
> I am interested in extending the Network.HTTP code in the HTTP package to
> support HTTPS via TLS.
> I am left with the conclusion that it is impossible to support TLS in
> Network.Browser without breaking many Haskell programs. It is obviously
> possible to fork the HTTP library, but I'd like to improve the state of the
> existing libraries. Likewise, it is possible to create a new module that
> supports HTTPS but has different typed functions and lots of code
> duplication with Network.Browser, but that is quite inelegant.

If you need Network.Browser's functionality, it would be great if it
could be ported to work with http-conduit.  I wouldn't consider using
HTTP on any production code.

> Perhaps I should just use the
> Network.HTTP.Enumerator module and not deal with Network.Browser? Maybe I'm
> going about this in entirely the wrong way.

What are you trying to do?  On most cases http-conduit has everything you need.



More information about the Haskell-Cafe mailing list