snap-accept: Accept header branching for the Snap web framework

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 repo head: git clone https://github.com/zmthy/snap-accept
Uploaded by TimothyJones at 2017-06-26T05:36:33Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 2447 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-06-26 [all 1 reports]