This commit is contained in:
Michael Snoyman 2013-02-18 12:39:20 +02:00
parent afa20adac9
commit a73cac167e
6 changed files with 8 additions and 5 deletions

View File

@ -18,7 +18,7 @@ library
, authenticate >= 1.3 && < 1.4
, bytestring >= 0.9.1.4
, yesod-core >= 1.1 && < 1.2
, wai >= 1.3 && < 1.4
, wai >= 1.3 && < 1.5
, template-haskell
, pureMD5 >= 2.0 && < 2.2
, random >= 1.0.0.2 && < 1.1

View File

@ -909,6 +909,9 @@ runFakeHandler fakeSessionMap logger master handler = liftIO $ do
, W.queryString = []
, W.requestBody = mempty
, W.vault = mempty
#if MIN_VERSION_wai(1, 4, 0)
, W.requestBodyLength = W.KnownLength 0
#endif
}
fakeRequest =
Request

View File

@ -50,7 +50,7 @@ library
build-depends: base >= 4.3 && < 5
, time >= 1.1.4
, yesod-routes >= 1.1 && < 1.2
, wai >= 1.3 && < 1.4
, wai >= 1.3 && < 1.5
, wai-extra >= 1.3 && < 1.4
, bytestring >= 0.9.1.4
, text >= 0.7 && < 0.12

View File

@ -20,7 +20,7 @@ library
build-depends: base >= 4 && < 5
, yesod-core >= 1.1 && < 1.2
, warp >= 1.3 && < 1.4
, wai >= 1.3 && < 1.4
, wai >= 1.3 && < 1.5
, wai-extra >= 1.3 && < 1.4
, bytestring >= 0.9.1.4
, transformers >= 0.2.2 && < 0.4

View File

@ -31,7 +31,7 @@ library
, directory >= 1.0
, transformers >= 0.2.2
, wai-app-static >= 1.3 && < 1.4
, wai >= 1.3 && < 1.4
, wai >= 1.3 && < 1.5
, text >= 0.9
, file-embed >= 0.0.4.1 && < 0.5
, http-types >= 0.7

View File

@ -35,7 +35,7 @@ library
, yesod-default >= 1.1.3 && < 1.2
, monad-control >= 0.3 && < 0.4
, transformers >= 0.2.2 && < 0.4
, wai >= 1.3 && < 1.4
, wai >= 1.3 && < 1.5
, wai-extra >= 1.3 && < 1.4
, hamlet >= 1.1 && < 1.2
, shakespeare-js >= 1.0.2 && < 1.2