Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
assertEqual :: (HasCallStack, Eq a, Show a) => String -> a -> a -> AssertionHUnit Test.HUnit.Lang Asserts that the specified actual value is equal to the expected value. The output message will contain the prefix, the expected value, and the actual value. If the prefix is the empty string (i.e., ""), then the prefix is omitted and only the expected and actual values are output.
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 ' '