Accept header branching for the Snap web framework https://github.com/zmthy/snap-accept
|Latest on Hackage:||0.2.1|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
HTTP media type functionality as a complement to Snap's
functions. Branches based on the value of the Accept or Accept-Language
header of the current request, automatically setting the Content-Type or
Content-Language header of the response as appropriate.