http-conduit 2.2.0 → 2.2.0.1
raw patch · 3 files changed
+14/−12 lines, 3 files
Files
- ChangeLog.md +4/−0
- Network/HTTP/Simple.hs +8/−10
- http-conduit.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,7 @@+## 2.2.0.1++* Doc fixes+ ## 2.2.0 * Upgrade to http-client 0.5
Network/HTTP/Simple.hs view
@@ -6,17 +6,15 @@ -- available at -- <https://github.com/commercialhaskell/jump/blob/master/doc/http-client.md>. ----- Important note: 'Request' is an instance of 'IsString', and therefore--- recommended usage is to turn on @OverloadedStrings@, e.g.------ @@@--- {-# LANGUAGE OverloadedStrings #-}--- import Network.HTTP.Simple--- import qualified Data.ByteString.Lazy.Char8 as L8+-- Important note: 'H.Request' is an instance of 'Data.String.IsString', and+-- therefore recommended usage is to turn on @OverloadedStrings@, e.g. ----- main :: IO ()--- main = httpLBS "http://example.com" >>= L8.putStrLn--- @@@+-- > {-# LANGUAGE OverloadedStrings #-}+-- > import Network.HTTP.Simple+-- > import qualified Data.ByteString.Lazy.Char8 as L8+-- >+-- > main :: IO ()+-- > main = httpLBS "http://example.com" >>= L8.putStrLn module Network.HTTP.Simple ( -- * Perform requests httpLBS
http-conduit.cabal view
@@ -1,5 +1,5 @@ name: http-conduit-version: 2.2.0+version: 2.2.0.1 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -31,7 +31,7 @@ , http-types >= 0.7 , lifted-base >= 0.1 , http-client >= 0.5 && < 0.6- , http-client-tls >= 0.2.4+ , http-client-tls >= 0.3 && < 0.4 , monad-control , mtl , exceptions >= 0.6