Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- encodeQuery :: Query -> ByteString
- encodePath :: Path 'Absolute -> ByteString
- encodeUnless :: (Char -> Bool) -> Text -> ByteString
Documentation
encodeQuery :: Query -> ByteString Source #
Generate an ascii Bytestring
from a supplied Query by percent encoding all of the invalid octets
encodePath :: Path 'Absolute -> ByteString Source #
Generate an ascii Bytestring
from a supplied Path by percent encoding all of the invalid octets
encodeUnless :: (Char -> Bool) -> Text -> ByteString Source #
Percent encode all chars in the supplied text except for those which satsify the supplied predicate