packages feed

http-client-openssl 0.2.0.4 → 0.2.0.5

raw patch · 4 files changed

+9/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.2.0.5++* Use different domain name so tests pass+ ## 0.2.0.4  * Minor doc updates
Network/HTTP/Client/OpenSSL.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} -- | Support for making connections via the OpenSSL library. module Network.HTTP.Client.OpenSSL
http-client-openssl.cabal view
@@ -1,5 +1,5 @@ name:                http-client-openssl-version:             0.2.0.4+version:             0.2.0.5 synopsis:            http-client backend using the OpenSSL library. description:         Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>. homepage:            https://github.com/snoyberg/http-client
test/Spec.hs view
@@ -10,5 +10,6 @@ main = withOpenSSL $ hspec $ do     it "make a TLS connection" $ do         manager <- newManager $ opensslManagerSettings SSL.context-        withResponse (parseRequest_ "https://httpbin.org/status/418") manager $ \res ->-            responseStatus res `shouldBe` status418+        withResponse (parseRequest_ "HEAD https://s3.amazonaws.com/hackage.fpcomplete.com/01-index.tar.gz") manager $ \res -> do+            responseStatus res `shouldBe` status200+            lookup "content-type" (responseHeaders res) `shouldBe` Just "application/x-gzip"