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

Erik de Castro Lopo mle+hs at mega-nerd.com
Mon Jan 16 23:52:11 CET 2012


Felipe Almeida Lessa wrote:

> 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.
> [snip]
> > 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.

+1

> > 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.

Specifically:

   http://hackage.haskell.org/packages/archive/http-conduit/latest/doc/html/Network-HTTP-Conduit.html

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Haskell-Cafe mailing list