-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Hack contrib -- -- Hack contrib @package hack-contrib @version 2009.4.50 module Hack.Contrib.Middleware.Mime mime_types :: Map String String lookup_mime_type :: String -> Maybe String module Hack.Contrib.Constants status_with_no_entity_body :: [Int] _CacheControl :: String _Connection :: String _Date :: String _Pragma :: String _TransferEncoding :: String _Upgrade :: String _Via :: String _Accept :: String _AcceptCharset :: String _AcceptEncoding :: String _AcceptLanguage :: String _Authorization :: String _Cookie :: String _Expect :: String _From :: String _Host :: String _IfModifiedSince :: String _IfMatch :: String _IfNoneMatch :: String _IfRange :: String _IfUnmodifiedSince :: String _MaxForwards :: String _ProxyAuthorization :: String _Range :: String _Referer :: String _UserAgent :: String _Age :: String _Location :: String _ProxyAuthenticate :: String _Public :: String _RetryAfter :: String _Server :: String _SetCookie :: String _TE :: String _Trailer :: String _Vary :: String _Warning :: String _WWWAuthenticate :: String _Allow :: String _ContentBase :: String _ContentEncoding :: String _ContentLanguage :: String _ContentLength :: String _ContentLocation :: String _ContentMD5 :: String _ContentRange :: String _ContentType :: String _ETag :: String _Expires :: String _LastModified :: String _ContentTransferEncoding :: String _TextPlain :: String _TextHtml :: String _TextPlainUTF8 :: String _TextHtmlUTF8 :: String status_code :: Map Int String module Hack.Contrib.Response header :: String -> Response -> Maybe String has_header :: String -> Response -> Bool set_header :: String -> String -> Response -> Response set_content_type :: String -> Response -> Response set_content_length :: Int -> Response -> Response set_body :: String -> Response -> Response set_status :: Int -> Response -> Response set_last_modified :: String -> Response -> Response module Hack.Contrib.Middleware.ContentType content_type :: String -> Middleware module Hack.Contrib.Middleware.Head head :: Middleware module Hack.Contrib.Middleware.Lambda lambda :: Middleware module Hack.Contrib.Middleware.Lucky lucky :: Middleware module Hack.Contrib.Middleware.NotFound not_found :: Middleware module Hack.Contrib.Utils (>) :: (Category cat) => cat a b -> cat b c -> cat a c (+) :: (MonadPlus m) => m a -> m a -> m a (/) :: FilePath -> FilePath -> FilePath empty_app :: Application use :: [Middleware] -> Middleware bytesize :: String -> Int dummy_middleware :: Middleware dummy_app :: Application escape_html :: String -> String show_status_message :: Int -> Maybe String httpdate :: UTCTime -> String url2unicode :: String -> String just_lookup :: (Ord k) => k -> Map k a -> a module Hack.Contrib.Request body :: Env -> String scheme :: Env -> String port :: Env -> Int path :: Env -> String fullpath :: Env -> String http_ :: String -> Env -> Maybe String custom_ :: String -> Env -> Maybe String host :: Env -> String url :: Env -> String module Hack.Contrib.Middleware.ContentSize content_size :: Middleware module Hack.Contrib.Middleware.File file :: Maybe String -> Middleware module Hack.Contrib.Middleware.Hub data Severity Debug :: Severity Info :: Severity Warn :: Severity Error :: Severity Fatal :: Severity Unknown :: Severity hint :: Severity -> String type Formatter = Severity -> UTCTime -> Int -> String -> String -> String type Logger = String -> Severity -> IO () hub :: Stream -> Formatter -> String -> Logger simple_logger :: Stream -> String -> Logger simple_formatter :: Formatter colorize :: Severity -> String -> String instance Show Severity instance Eq Severity module Hack.Contrib.Middleware.ShowExceptions show_exceptions :: Maybe Stream -> Middleware module Hack.Contrib.Middleware.RawRouter route :: [RoutePath] -> Middleware module Hack.Contrib.Middleware.ShowStatus show_status :: Middleware module Hack.Contrib.Middleware.SimpleAccessLogger simple_access_logger :: Maybe Stream -> Middleware module Hack.Contrib.Middleware.SimpleRouter route :: [RoutePath] -> Middleware module Hack.Contrib.Middleware.Static static :: Maybe String -> [String] -> Middleware module Hack.Contrib.Middleware.ETag etag :: Middleware module Hack.Contrib.Middleware.BounceFavicon bounce_favicon :: Middleware