The snap-accept package

[ Tags: library, mit, web ] [ Propose Tags ]

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 466 total (9 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
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