Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
http-types Network.HTTP.Types Bad Request 400
-
http-types Network.HTTP.Types Length Required 411
networkAuthenticationRequired511 :: Statushttp-types Network.HTTP.Types Network Authentication Required 511 (RFC 6585)
parseQuery :: ByteString -> Queryhttp-types Network.HTTP.Types Split out the query string into a list of keys and values. A few importants points:
- The result returned is still bytestrings, since we perform no character decoding here. Most likely, you will want to use UTF-8 decoding, but this is left to the user of the library.
- Percent decoding errors are ignored. In particular, "%Q" will be output as "%Q".
- It decodes '+' characters to ' '
parseQueryReplacePlus :: Bool -> ByteString -> Queryhttp-types Network.HTTP.Types Same functionality as parseQuery, but with the option to decode '+' characters to ' ' or to preserve any '+' encountered. If you want to replace any '+' with a space, use True.
parseQueryText :: ByteString -> QueryTexthttp-types Network.HTTP.Types Parse a QueryText from a ByteString. See parseQuery for details.
queryToQueryText . parseQuery
parseSimpleQuery :: ByteString -> SimpleQueryhttp-types Network.HTTP.Types Parse SimpleQuery from a ByteString. This uses parseQuery under the hood, and will transform any Nothing values into an empty ByteString.
-
http-types Network.HTTP.Types Payment Required 402
preconditionRequired428 :: Statushttp-types Network.HTTP.Types Precondition Required 428 (RFC 6585)
proxyAuthenticationRequired407 :: Statushttp-types Network.HTTP.Types Proxy Authentication Required 407