packages feed

wai-extra 1.2.0.1 → 1.2.0.2

raw patch · 2 files changed

+12/−12 lines, 2 filesdep ~fast-loggerPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: fast-logger

API changes (from Hackage documentation)

Files

Network/Wai/Middleware/RequestLogger.hs view
@@ -101,20 +101,20 @@ -- However, if you are simulating 10 simultaneous users you may find this confusing. -- The request and response are connected by color on Unix and also by the request path. ----- This is lower-level - use "logStdoutDev" unless you need greater control.+-- This is lower-level - use 'logStdoutDev' unless you need greater control. -- -- Example ouput: ----- GET search--- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8------ Status: 200 OK. search--- --- GET static/css/normalize.css--- Accept: text/css,*/*;q=0.1--- GET [("LXwioiBG","")]------ Status: 304 Not Modified. static/css/normalize.css+-- > GET search+-- > Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8+-- >+-- > Status: 200 OK. search+-- >+-- > GET static/css/normalize.css+-- > Accept: text/css,*/*;q=0.1+-- > GET [("LXwioiBG","")]+-- >+-- > Status: 304 Not Modified. static/css/normalize.css logCallbackDev :: (BS.ByteString -> IO ()) -- ^ A function that logs the ByteString log message.                -> Middleware logCallbackDev cb app req = do
wai-extra.cabal view
@@ -1,5 +1,5 @@ Name:                wai-extra-Version:             1.2.0.1+Version:             1.2.0.2 Synopsis:            Provides some basic WAI handlers and middleware. Description:         The goal here is to provide common features without many dependencies. License:             MIT