packages feed

happstack-server 6.6.2 → 6.6.3

raw patch · 2 files changed

+19/−9 lines, 2 files

Files

happstack-server.cabal view
@@ -1,5 +1,5 @@ Name:                happstack-server-Version:             6.6.2+Version:             6.6.3 Synopsis:            Web related tools and services. Description:         Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html> License:             BSD3
src/Happstack/Server/Internal/Types.hs view
@@ -76,15 +76,25 @@     (isHTTP1_1 rq && not (checkHeaderBS connectionC closeC rq) && rsfLength (rsFlags res) /= NoContentLength)  -- | function to log access requests (see also: 'logMAccess')+-- type LogAccess time =+--    (   String  -- ^ host+--     -> String  -- ^ user+--     -> time    -- ^ time+--     -> String  -- ^ requestLine+--     -> Int     -- ^ responseCode+--     -> Integer -- ^ size+--     -> String  -- ^ referer+--     -> String  -- ^ userAgent+--     -> IO ())  type LogAccess time =-    (   String  -- ^ host-     -> String  -- ^ user-     -> time    -- ^ time-     -> String  -- ^ requestLine-     -> Int     -- ^ responseCode-     -> Integer -- ^ size-     -> String  -- ^ referer-     -> String  -- ^ userAgent+    (   String+     -> String+     -> time+     -> String+     -> Int+     -> Integer+     -> String+     -> String      -> IO ())   -- | HTTP configuration