packages feed

http-proxy 0.1.0.1 → 0.1.0.2

raw patch · 3 files changed

+5/−5 lines, 3 filesdep ~http-clientdep ~http-conduitPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: http-client, http-conduit

API changes (from Hackage documentation)

Files

Network/HTTP/Proxy.hs view
@@ -159,7 +159,7 @@         respond $ responseRawSource (handleConnect mwreq)                     (Wai.responseLBS HT.status500 [("Content-Type", "text/plain")] "No support for responseRaw")     | otherwise = do-        hreq0 <- HC.parseUrl $ BS.unpack (Wai.rawPathInfo mwreq <> Wai.rawQueryString mwreq)+        hreq0 <- HC.parseRequest $ BS.unpack (Wai.rawPathInfo mwreq <> Wai.rawQueryString mwreq)         let hreq = hreq0                 { HC.method = Wai.requestMethod mwreq                 , HC.requestHeaders = filter dropRequestHeader $ Wai.requestHeaders mwreq
Test/Request.hs view
@@ -62,7 +62,7 @@                         Http -> httpTestPort portsDef                         Https -> httpsTestPort portsDef         url = map toLower (show scheme) ++ "://localhost:" ++ port ++ path-    req <- HC.parseUrl url+    req <- HC.parseRequest url     return $ req         { HC.method = if HC.method req /= method then method else HC.method req         , HC.requestBody = fromMaybe (HC.requestBody req) mbody
http-proxy.cabal view
@@ -1,5 +1,5 @@ Name:           http-proxy-Version:        0.1.0.1+Version:        0.1.0.2 License:        BSD3 License-file:   LICENSE Author:         Michael Snoyman, Erik de Castro Lopo@@ -34,8 +34,8 @@                    , case-insensitive        >= 1.2                    , conduit                 >= 1.2                    , conduit-extra           >= 1.1-                   , http-client             >= 0.4-                   , http-conduit            >= 2.1.7+                   , http-client             >= 0.4         && < 0.5+                   , http-conduit            >= 2.1.7       && < 2.2                    , http-types              >= 0.8                    , mtl                     >= 2.1                    , network                 >= 2.6