Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Defines the Language
accept header with an Accept
instance for use in
language negotiation.
Synopsis
- data Language
- toParts :: Language -> [CI ByteString]
Documentation
Suitable for HTTP language-ranges as defined in RFC4647.
Specifically:
language-range = (1*8ALPHA *("-" 1*8alphanum)) / "*"
Instances
Eq Language Source # | |
Ord Language Source # | |
Defined in Network.HTTP.Media.Language.Internal | |
Show Language Source # | |
IsString Language Source # | |
Defined in Network.HTTP.Media.Language.Internal fromString :: String -> Language # | |
Accept Language Source # | |
Defined in Network.HTTP.Media.Language.Internal | |
RenderHeader Language Source # | |
Defined in Network.HTTP.Media.Language.Internal renderHeader :: Language -> ByteString Source # |