[Haskell-cafe] ANN: HTTPbis / HTTP-4000.x package available

Bulat Ziganshin bulat.ziganshin at gmail.com
Fri Jan 16 09:57:56 EST 2009

Hello Sigbjorn,

Friday, January 16, 2009, 5:42:06 PM, you wrote:

first question: are these packages (http, curl, curl-shell, webclient)
windows-compatible? second - that is advantages of using http (or
webclient) over curl?

sorry if questions are stupid - i'm pretty ignorant here :)

> Thanks Jeff,

> regarding having to use both HTTP and cURL -- or perhaps only
> the latter for code simplicitly -- that will probably remain the case for
> quite a while still. To help with that situation,  I put together an 
> over-arching
> 'webclient' library that abstracts over the transport layers (HTTP, curl,
> curl-shell) giving you an API that's consistent across backends.
> I could release that at some point if there's sufficient interest..
> It also adds WebDAV support.

> Re: curl - as an author of the 'curl' package, I'm also keen on finding
> ways of making that better -- both in terms of using the underlying lib
> functionality and API on the Haskell side. Suggestions/contribs most
> welcome.

> Ditto for HTTP too, of course :)

> --sigbjorn

> On 1/16/2009 05:47, Jeff Heard wrote:
>> Just as a reported speedup, downloading a 5MB file from my own local
>> machine (via http) went from 1.05 secs to 0.053 secs.  Yes, it's
>> really an order of magnitude better.  Performance now is on par or
>> slightly better than cURL (however to get more protocols than HTTP,
>> you'll still need the ubiquitous cURL library)
>> On Fri, Jan 16, 2009 at 1:36 AM, Sigbjorn Finne
>> <sigbjorn.finne at gmail.com> wrote:
>>> Hi,
>>> I guess it's time to publish more widely the availability of a modernization
>>> of
>>> the venerable and trusted HTTP package, which I've been working on
>>> off&on for a while.
>>> Bunch of changes, but the headline new feature of this new version
>>> is the parameterization of the representation of payloads in both HTTP
>>> requests and responses. Two new representations are supported, strict and
>>> lazy
>>> ByteStrings. Some people have reported quietly pleasing speedups as a result
>>> of this change. (If they want to report numbers, please do..)
>>> Another change/fix in this release is the _alleged_ fix to the long-standing
>>> bug
>>> in the use of  absolute URIs vs absolute paths in requests (for non-proxied
>>> and
>>> proxied use.) Give it a go..
>>> Notice that the HTTP-4000.x version will require you to make some
>>> modifications to your existing HTTP-using code -- I've tried to keep the API
>>> backwards compatible minimal despite the change in functionality and
>>> underlying types. If you do not want to deal with this right away, please
>>> introduce a <4000 dependency on the HTTP package in your .cabal files.
>>> I've also taken on the maintainership of the package, with the highly
>>> esteemed
>>> Bjorn Bingert no longer having the usual abundance of cycles to look after
>>> it (hope I'm not misrepresenting facts here, Bjorn!) However, I've yet to
>>> gain access to  www.haskell.org and update http://www.haskell.org/http,
>>> so for now you may pick up a new version the lib via
>>>  http://hackage.haskell.org/cgi-bin/hackage-scripts/package/HTTP
>>> GIT repo for HTTP-4000  / HTTPbis is here
>>>   git://code.galois.com/HTTPbis.git
>>> enjoy
>>> --sigbjorn
>>> _______________________________________________
>>> Haskell-Cafe mailing list
>>> Haskell-Cafe at haskell.org
>>> http://www.haskell.org/mailman/listinfo/haskell-cafe

> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list