http-reverse-proxy 0.1.1.2 → 0.1.1.3
raw patch · 2 files changed
+6/−1 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
Network/HTTP/ReverseProxy.hs view
@@ -1,4 +1,5 @@ {-# LANGUAGE OverloadedStrings, NoImplicitPrelude, FlexibleContexts, ScopedTypeVariables #-}+{-# LANGUAGE CPP #-} module Network.HTTP.ReverseProxy ( -- * Types ProxyDest (..)@@ -145,7 +146,11 @@ , HC.requestHeaders = filter (\(key, _) -> not $ key `member` strippedHeaders) $ WAI.requestHeaders req , HC.requestBody = HC.RequestBodySourceChunked $ mapOutput fromByteString $ WAI.requestBody req , HC.redirectCount = 0+#if MIN_VERSION_http_conduit(1, 9, 0)+ , HC.checkStatus = \_ _ _ -> Nothing+#else , HC.checkStatus = \_ _ -> Nothing+#endif , HC.responseTimeout = wpsTimeout wps } ex <- try $ HC.http req' manager
http-reverse-proxy.cabal view
@@ -1,5 +1,5 @@ name: http-reverse-proxy-version: 0.1.1.2+version: 0.1.1.3 synopsis: Reverse proxy HTTP requests, either over raw sockets or with WAI description: Provides a simple means of reverse-proxying HTTP requests. The raw approach uses the same technique as leveraged by keter, whereas the WAI approach performs full request/response parsing via WAI and http-conduit. homepage: https://github.com/fpco/http-reverse-proxy