Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
seq# :: a -> State# s -> (# State# s, a #)ghc-prim GHC.PrimopWrappers No documentation available.
type
PartialEscapeQuery = [PartialEscapeQueryItem]http-types Network.HTTP.Types Query with some characters that should not be escaped. General form: a=b&c=d:e+f&g=h
type
PartialEscapeQueryItem = (ByteString, [EscapeItem])http-types Network.HTTP.Types Partially escaped query item. The key will always be encoded using 'urlEncode True', but the value will be encoded depending on which EscapeItems are used.
type
RequestHeaders = [Header]http-types Network.HTTP.Types A list of Headers. Same type as ResponseHeaders, but useful to differentiate in type signatures.
type
SimpleQuery = [SimpleQueryItem]http-types Network.HTTP.Types A sequence of SimpleQueryItems.
type
SimpleQueryItem = (ByteString, ByteString)http-types Network.HTTP.Types Simplified query item type without support for parameter-less items.
-
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 ' '