packages feed

http-conduit 1.8.6.1 → 1.8.6.2

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

http-conduit.cabal view
@@ -1,5 +1,5 @@ name:            http-conduit-version:         1.8.6.1+version:         1.8.6.2 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>
test/main.hs view
@@ -191,7 +191,7 @@             let app' port req =                     case pathInfo req of                         ["foo"] -> return $ responseLBS status200 [] "Hello World!"-                        _ -> return $ ResponseSource status301 [("location", S8.pack $ "http://localhost:" ++ show port ++ "/foo")] $ forever $ yield $ Chunk $ fromByteString "hello\n"+                        _ -> return $ ResponseSource status301 [("location", S8.pack $ "http://127.0.0.1:" ++ show port ++ "/foo")] $ forever $ yield $ Chunk $ fromByteString "hello\n"             withApp' app' $ \port -> withManager $ \manager -> do                 req <- parseUrl $ "http://127.0.0.1:" ++ show port                 res <- httpLbs req manager