http-conduit 2.0.0.2 → 2.0.0.3
raw patch · 2 files changed
+19/−1 lines, 2 files
Files
- Network/HTTP/Conduit.hs +16/−0
- http-conduit.cabal +3/−1
Network/HTTP/Conduit.hs view
@@ -107,6 +107,22 @@ -- > let request = request' { checkStatus = \_ _ -> Nothing } -- > res <- withManager $ httpLbs request -- > print res+--+-- By default, when connecting to websites using HTTPS, functions in this+-- package will throw an exception if the TLS certificate doesn't validate. To+-- continue the HTTPS transaction even if the TLS cerficate validation fails,+-- you should use 'mkManagerSetttings' as follows:+--+-- > import Network.Connection (TLSSettings (..))+-- > import Network.HTTP.Conduit+-- >+-- > main :: IO ()+-- > main = do+-- > request <- parseUrl "https://github.com/"+-- > let settings = mkManagerSettings (TLSSettingsSimple True False False) Nothing+-- > res <- withManagerSettings settings $ httpLbs request+-- > print res+ module Network.HTTP.Conduit ( -- * Perform a request simpleHttp
http-conduit.cabal view
@@ -1,5 +1,5 @@ name: http-conduit-version: 2.0.0.2+version: 2.0.0.3 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -9,6 +9,8 @@ This package uses conduit for parsing the actual contents of the HTTP connection. It also provides higher-level functions which allow you to avoid directly dealing with streaming data. See <http://www.yesodweb.com/book/http-conduit> for more information. . The @Network.HTTP.Conduit.Browser@ module has been moved to <http://hackage.haskell.org/package/http-conduit-browser/>+ .+ The @Network.HTTP.Conduit.MultipartFormData@ module has been moved to <http://hackage.haskell.org/package/http-client-multipart/> category: Web, Conduit stability: Stable cabal-version: >= 1.8