http-dispatch 0.6.1.0 → 0.6.2.0
raw patch · 2 files changed
+6/−8 lines, 2 filesdep ~http-clientdep ~http-client-tlsdep ~http-types
Dependency ranges changed: http-client, http-client-tls, http-types
Files
http-dispatch.cabal view
@@ -1,7 +1,7 @@ name: http-dispatch-version: 0.6.1.0+version: 0.6.2.0 synopsis: High level HTTP client for Haskell-description: Please see README.md+description: A high level HTTP client with a simple API homepage: http://github.com/owainlewis/http-dispatch#readme license: BSD3 license-file: LICENSE@@ -20,9 +20,9 @@ , Network.HTTP.Dispatch.Internal.Request , Network.HTTP.Dispatch.Types build-depends: base >= 4.5 && < 5- , http-client- , http-client-tls- , http-types+ , http-client == 0.5.4+ , http-client-tls == 0.3.3+ , http-types == 0.9.1 , bytestring , base64-bytestring , case-insensitive
src/Network/HTTP/Dispatch/Internal/Request.hs view
@@ -32,13 +32,11 @@ -- toRequest :: HTTPRequest -> IO Client.Request toRequest (HTTPRequest method url headers body) = do- initReq <- parseUrl url+ initReq <- parseRequest url let hdrs = map (\(k, v) -> (CI.mk k, v)) headers req = initReq { method = C.pack . show $ method , requestHeaders = hdrs- -- Make sure no exceptions are thrown so that we can handle non 200 codes- , checkStatus = \_ _ _ -> Nothing } case body of Just lbs ->