Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An adapter to run a happstack-server ServerPart as a WAI Application

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 bench
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Setup.hs
Octocat-spinner-32 happstack-wai.cabal

This package provides a simple adapter to run a Happstack application on a WAI host, such as Warp.

My goal has been to explore what it would take for Happstack to addopt a WAI backend as standard, instead of implementing its own HTTP server code.

As such, I take some shortcuts in the implementation where it doesn't matter for testing - currently we only send HTTP response codes without response descriptions, and we do not respond well to a unknown HTTP method.

Something went wrong with that request. Please try again.