snap-accept

Accept header branching for the Snap web framework http://github.com/zimothy/snap-accept

Latest on Hackage:0.2.0

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.

MIT licensed by Timothy Jones
Maintained by Timothy Jones

HTTP media type functionality as a complement to Snap's method and methods 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.

comments powered byDisqus