Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
setHeaderUnsafe :: HasHeaders r => ByteString -> HeaderPair -> r -> rhappstack-server Happstack.Server.Internal.Types Sets the key to the HeaderPair. This is the only way to associate a key with multiple values via the setHeader* functions. Does not force the key to be in lowercase or guarantee that the given key and the key in the HeaderPair will match.
addHeaderM :: FilterMonad Response m => String -> String -> m ()happstack-server Happstack.Server.Monads Add headers into the response. This method does not overwrite any existing header of the same name, hence the name addHeaderM. If you want to replace a header use setHeaderM.
getHeaderM :: ServerMonad m => String -> m (Maybe ByteString)happstack-server Happstack.Server.Monads Get a header out of the request.
setHeaderM :: FilterMonad Response m => String -> String -> m ()happstack-server Happstack.Server.Monads Set a header into the response. This will replace an existing header of the same name. Use addHeaderM if you want to add more than one header of the same name.
maxHeader :: BodyPolicy -> Int64happstack-server Happstack.Server.RqData maximum bytes of overhead for headers in multipart/form-data
addHeader :: HasHeaders r => String -> String -> r -> rhappstack-server Happstack.Server.Types Add a key/value pair to the header. If the key already has a value associated with it, then the value will be appended. Forces the key to be lowercase.
addHeaderBS :: HasHeaders r => ByteString -> ByteString -> r -> rhappstack-server Happstack.Server.Types Acts as addHeader except for ByteStrings
addHeaderUnsafe :: HasHeaders r => ByteString -> HeaderPair -> r -> rhappstack-server Happstack.Server.Types Add a key/value pair to the header using the underlying HeaderPair data type. Does not force the key to be in lowercase or guarantee that the given key and the key in the HeaderPair will match.
getHeader :: HasHeaders r => String -> r -> Maybe ByteStringhappstack-server Happstack.Server.Types Lookup header value. Key is case-insensitive.
getHeaderBS :: HasHeaders r => ByteString -> r -> Maybe ByteStringhappstack-server Happstack.Server.Types Lookup header value. Key is a case-insensitive bytestring.