./www/hs-http-media, Processing HTTP Content-Type and Accept headers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.1.1nb1, Package name: hs-http-media-0.8.1.1nb1, Maintainer: pkgsrc-users

This library is intended to be a comprehensive solution to parsing and
selecting quality-indexed values in HTTP headers. It is capable of parsing
both media types and language parameters from the Accept and Content header
families, and can be extended to match against other accept headers as
well. Selecting the appropriate header value is achieved by comparing a
list of server options against the quality-indexed values supplied by the
client.


Master sites:

Filesize: 17.964 KB

Version history: (Expand)


CVS history: (Expand)


   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-28 22:14:59 by Masatake Daimon | Files touched by this commit (4) | Package updated
Log message:
www/hs-http-media: Update to 0.8.1.1

Version 0.8.1.1
* Fixed a bug when mapping againt a client-side content header where a
  match would be overridden by a more specific key earlier in the map.
* The bounds for tasty have been updated to include the latest version.

Version 0.8.1.0
* Exposed qualityData accessor.
* Added isAcceptable to allow filtering out unacceptable items.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2023-01-28 21:04:34 by Masatake Daimon | Files touched by this commit (5)
Log message:
www/hs-http-media: import hs-http-media-0.8.0.0

This library is intended to be a comprehensive solution to parsing and
selecting quality-indexed values in HTTP headers. It is capable of parsing
both media types and language parameters from the Accept and Content header
families, and can be extended to match against other accept headers as
well. Selecting the appropriate header value is achieved by comparing a
list of server options against the quality-indexed values supplied by the
client.