Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines the Language
accept header with an Accept
instance for use in
language negotiation.
- data Language
- toParts :: Language -> [CI ByteString]
Documentation
Suitable for HTTP language-ranges as defined in RFC2616.
Specifically:
language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )