packages feed

HTTP 3001.0.0 → 3001.0.1

raw patch · 2 files changed

+3/−3 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

HTTP.cabal view
@@ -1,5 +1,5 @@ Name: HTTP-Version: 3001.0.0+Version: 3001.0.1 Cabal-Version: >= 1.2 Build-type: Simple License: BSD3
Network/HTTP.hs view
@@ -164,7 +164,7 @@  -- Turn on to enable HTTP traffic logging debug :: Bool-debug = False+debug = True  -- File that HTTP traffic logs go to httpLogFile :: String@@ -928,7 +928,7 @@     =  readLine conn >>= \v -> case v of                   Left e -> return (Left e)                   Right line ->-                      let size = ( if null line || (head line) == '0'+                      let size = ( if null line                                      then 0                                      else case readHex line of                                         (n,_):_ -> n