happstack-server-0.2.1: Web related tools and services.Source codeContentsIndex
Happstack.Server.Parts
Synopsis
compressedResponseFilter :: (FilterMonad Response m, MonadPlus m, WebMonad Response m, ServerMonad m) => m String
gzipFilter :: FilterMonad Response m => m ()
deflateFilter :: FilterMonad Response m => m ()
encodings :: GenParser Char st [([Char], Maybe Double)]
Documentation
compressedResponseFilter :: (FilterMonad Response m, MonadPlus m, WebMonad Response m, ServerMonad m) => m StringSource

reads the "Accept-Encoding" header. Then, if possible will compress the response body with methods gzip or deflate

Returns the name of the coding chosen

gzipFilter :: FilterMonad Response m => m ()Source
compresses the body of the response with gzip. does not set any headers.
deflateFilter :: FilterMonad Response m => m ()Source
compresses the body of the response with zlib's deflate method does not set any headers.
encodings :: GenParser Char st [([Char], Maybe Double)]Source
unsupported: a parser for the Accept-Encoding header
Produced by Haddock version 2.4.2