The snap-accept package

[Tags:library, mit]

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.

Properties

Versions 0.1.0, 0.2.0, 0.2.1
Dependencies base (>=4.6.0 && <5.0), bytestring (>=0.10.0 && <0.11), case-insensitive (>=1.2.0 && <1.3), http-media (>=0.6.0 && <0.8), snap-core (>=0.9.4 && <1.1) [details]
License MIT
Copyright (c) 2013-2017 Timothy Jones
Author Timothy Jones
Maintainer Timothy Jones <tim@zmthy.net>
Category Web
Home page https://github.com/zmthy/snap-accept
Bug tracker https://github.com/zmthy/snap-accept/issues
Source repository head: git clone https://github.com/zmthy/snap-accept
Uploaded Mon Jun 26 05:36:33 UTC 2017 by TimothyJones
Distributions NixOS:0.2.1
Downloads 438 total (45 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-06-26 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees