[web-devel] Changes to WAI and Warp

Michael Snoyman michael at snoyman.com
Tue Jan 25 21:48:36 CET 2011


Hi all,

There have been a number of feature requests for WAI and Warp. For all
those interested, please check out the respective Github
repositories[1][2]. A quick rundown of the changes:

WAI

* Some documentation updates.
* Providing statusOK, statusNotFound etc aliases.

Warp

* Some documentation updates.
* Exporting Port and InvalidRequest.
* A new function, runOnException, to allow users to specify an
exception handler.
* serveConnections is exposed, allowing users to supply their own
sockets for listening. This can allow you use use Unix named sockets
with reverse HTTP proxying on nginx (possibly other frontend servers
too).
* runInteractive, which allows ctrl-C to work in Windows.

Thanks especially to Neil Mitchell for most of these recommendations,
as well as Liam O'Connor for the Unix named sockets idea, and Bas van
Dijk for the exception handler idea.

For the record: all of these are non-breaking changes, so both
packages will be released at version 0.3.1 when these changes are
finalized.

Michael

[1] https://github.com/snoyberg/wai
[2] https://github.com/snoyberg/warp



More information about the web-devel mailing list