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

Safe HaskellSafe
LanguageHaskell2010

Network.HTTP.Media.Language

Description

Defines the Language accept header with an Accept instance for use in language negotiation.

Synopsis

Documentation

toParts :: Language -> [CI ByteString] Source #

Converts Language to a list of its language parts. The wildcard produces an empty list.