@hackage http-media0.1.0
Processing HTTP Content-Type and Accept headers
Categories
License
MIT
Maintainer
Timothy Jones <git@zimothy.com>
Links
Versions
Installation
Dependencies (4)
- 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 Show all…
Dependents (187)
@hackage/cachix-api, @hackage/servant-server, @hackage/servant-static-th, @hackage/ethereum-analyzer, @hackage/swagger-test, @hackage/servant-iCalendar, Show all…
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.