From 393bbd6caecbc57ea964abad9e0647068f14f4ab Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Mon, 18 Jan 2016 19:28:18 +1100 Subject: [PATCH] Fix test and bump Wai dependency The Wai.Request type has changed for wai >= 3.2. --- Test/Gen.hs | 2 ++ http-proxy.cabal | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Test/Gen.hs b/Test/Gen.hs index b25c84d..1917760 100644 --- a/Test/Gen.hs +++ b/Test/Gen.hs @@ -47,6 +47,8 @@ genWaiRequest = do bodylen -- requestBodyLength (Just host) -- requestHeaderHost Nothing -- requestHeaderRange + Nothing -- requestHeaderReferer + Nothing -- requestHeaderUserAgent genRequestBody :: Gen (Wai.RequestBodyLength, ByteString) diff --git a/http-proxy.cabal b/http-proxy.cabal index 185548d..052f9a3 100644 --- a/http-proxy.cabal +++ b/http-proxy.cabal @@ -43,7 +43,7 @@ Library , tls >= 1.2 , text >= 1.2 , transformers >= 0.3 - , wai >= 3.0 + , wai >= 3.2 , wai-conduit >= 3.0 , warp >= 3.0 , warp-tls >= 3.0