haskell / HTTP

Haskell HTTP package

Home Page:http://hackage.haskell.org/package/HTTP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract Code that Creates http Headers and Body

BebeSparkelSparkel opened this issue · comments

The HTTP package seems to be for creating the http client. I have seen the HTTP package used to construct the http response on the server side as well.

With the http needing to created on the client and server side it would seem to be a good idea to extract the ability to create http into it's own or sub package.

What do you think?

Does http://hackage.haskell.org/package/http-types meet the requirements?

In general I'm not sure that HTTP is a good choice for new projects, it's quite old and crufty and doesn't support HTTPS. Its advantages are really incumbency, and that it only has a small number of dependencies.

@hsenag Thanks for pointing to that package. I think it will work but the http seems more thought out.