http-media: Processing HTTP Content-Type and Accept headers

[ library, mit, web ] [ Propose Tags ]

This library is intended to be a comprehensive solution to parsing media types, including quality parameters, in HTTP headers. It addresses parsing of the Content-Type and Accept headers, and includes general data types for matching against the other accept headers as well. It encodes MIME parameters into a MediaType data, and allows the matching of the final value by comparing quality values from the client.

Versions [faq] 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.6.2, 0.6.3, 0.6.4, 0.7.0, 0.7.1, 0.7.1.1, 0.7.1.2, 0.7.1.3, 0.8.0.0
Dependencies base (>=4.6.0 && <5.0), bytestring (>=0.10.0 && <0.11), containers (>=0.5.0 && <0.6), utf8-string (>=0.3.7 && <0.4) [details]
License MIT
Copyright (c) 2013 Timothy Jones
Author Timothy Jones
Maintainer Timothy Jones <git@zimothy.com>
Category Web
Home page http://github.com/zimothy/http-media
Bug tracker http://github.com/zimothy/http-media/issues
Source repo head: git clone git://github.com/zimothy/http-media.git
Uploaded by TimothyJones at Mon Oct 14 04:40:39 UTC 2013
Distributions Arch:0.7.1.3, Debian:0.7.1.2, Fedora:0.7.1.3, LTSHaskell:0.7.1.3, NixOS:0.8.0.0, Stackage:0.8.0.0
Downloads 21004 total (457 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees