http-client-openssl 0.2.0.2 → 0.2.0.3
raw patch · 3 files changed
+7/−5 lines, 3 filesdep ~http-clientPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: http-client
API changes (from Hackage documentation)
Files
- ChangeLog.md +4/−0
- http-client-openssl.cabal +2/−2
- test/Spec.hs +1/−3
ChangeLog.md view
@@ -1,3 +1,7 @@+## 0.2.0.3++* Simplified a test case+ ## 0.2.0.1 [Expand hints for getAddrInfo. More exception safety.](https://github.com/snoyberg/http-client/pull/91)
http-client-openssl.cabal view
@@ -1,5 +1,5 @@ name: http-client-openssl-version: 0.2.0.2+version: 0.2.0.3 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@@ -29,7 +29,7 @@ ghc-options: -threaded build-depends: base , hspec- , http-client+ , http-client >= 0.4.30 , http-client-openssl , http-types , HsOpenSSL
test/Spec.hs view
@@ -10,7 +10,5 @@ main = withOpenSSL $ hspec $ do it "make a TLS connection" $ do manager <- newManager $ opensslManagerSettings SSL.context- withResponse "https://httpbin.org/status/418"- { checkStatus = \_ _ _ -> Nothing- } manager $ \res -> do+ withResponse (parseRequest_ "https://httpbin.org/status/418") manager $ \res -> responseStatus res `shouldBe` status418