Network.OAuth.Http.PercentEncoding
Description
Percent encoding http://tools.ietf.org/html/rfc3986#page-12 functions, with the exception that all encoding/decoding is in UTF-8.
- class PercentEncoding a where
- decodeWithDefault :: PercentEncoding a => a -> String -> a
Documentation
class PercentEncoding a whereSource
decodeWithDefault :: PercentEncoding a => a -> String -> aSource
Decodes a percent encoded string. In case of failure returns a default value, instead of Nothing.