WAI 1.1
This commit is contained in:
parent
6e52853c76
commit
9b92215819
@ -24,7 +24,7 @@ library
|
||||
build-depends: authenticate >= 1.0 && < 1.1
|
||||
, bytestring >= 0.9.1.4 && < 0.10
|
||||
, yesod-core >= 0.10 && < 0.11
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai >= 1.1 && < 1.2
|
||||
, template-haskell
|
||||
, pureMD5 >= 2.0 && < 2.2
|
||||
, random >= 1.0.0.2 && < 1.1
|
||||
|
||||
@ -61,10 +61,10 @@ import Text.Hamlet (Html)
|
||||
import Text.Blaze.Renderer.Utf8 (renderHtmlBuilder)
|
||||
import Data.String (IsString (fromString))
|
||||
import Network.Wai (FilePart)
|
||||
import Data.Conduit (Source)
|
||||
import Data.Conduit (Source, Flush)
|
||||
|
||||
data Content = ContentBuilder Builder (Maybe Int) -- ^ The content and optional content length.
|
||||
| ContentSource (Source IO Builder)
|
||||
| ContentSource (Source IO (Flush Builder))
|
||||
| ContentFile FilePath (Maybe FilePart)
|
||||
|
||||
-- | Zero-length enumerator.
|
||||
|
||||
@ -326,7 +326,7 @@ rbHelper :: W.Request -> ResourceT IO RequestBodyContents
|
||||
rbHelper req =
|
||||
(map fix1 *** map fix2) <$> (requestBody req $$ iter)
|
||||
where
|
||||
iter = NWP.parseRequestBody NWP.lbsSink req
|
||||
iter = NWP.parseRequestBody NWP.lbsBackEnd req
|
||||
fix1 = go *** go
|
||||
fix2 (x, NWP.FileInfo a b c) =
|
||||
(go x, FileInfo (go a) (go b) c)
|
||||
|
||||
@ -48,8 +48,8 @@ library
|
||||
|
||||
build-depends: time >= 1.1.4
|
||||
, yesod-routes >= 0.0 && < 0.1
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai-extra >= 1.0 && < 1.1
|
||||
, wai >= 1.1 && < 1.2
|
||||
, wai-extra >= 1.1 && < 1.2
|
||||
, bytestring >= 0.9.1.4 && < 0.10
|
||||
, text >= 0.7 && < 0.12
|
||||
, template-haskell
|
||||
|
||||
@ -19,9 +19,9 @@ library
|
||||
|
||||
build-depends: base >= 4 && < 5
|
||||
, yesod-core >= 0.10 && < 0.11
|
||||
, warp >= 1.0 && < 1.1
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai-extra >= 1.0 && < 1.1
|
||||
, warp >= 1.1 && < 1.2
|
||||
, wai >= 1.1 && < 1.2
|
||||
, wai-extra >= 1.1 && < 1.2
|
||||
, bytestring >= 0.9.1.4
|
||||
, transformers >= 0.2.2 && < 0.3
|
||||
, text >= 0.9
|
||||
|
||||
@ -31,7 +31,7 @@ library
|
||||
, blaze-html >= 0.4.1.3 && < 0.5
|
||||
, bytestring >= 0.9.1.4 && < 0.10
|
||||
, text >= 0.9 && < 1.0
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai >= 1.1 && < 1.2
|
||||
, containers >= 0.2 && < 0.5
|
||||
exposed-modules: Yesod.Form
|
||||
Yesod.Form.Class
|
||||
|
||||
@ -25,8 +25,8 @@ library
|
||||
, attoparsec-conduit >= 0.0 && < 0.1
|
||||
, conduit >= 0.0 && < 0.2
|
||||
, transformers >= 0.2.2 && < 0.3
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai-extra >= 1.0 && < 1.1
|
||||
, wai >= 1.1 && < 1.2
|
||||
, wai-extra >= 1.1 && < 1.2
|
||||
, bytestring >= 0.9 && < 0.10
|
||||
, safe >= 0.2 && < 0.4
|
||||
exposed-modules: Yesod.Json
|
||||
|
||||
@ -33,8 +33,8 @@ library
|
||||
, template-haskell
|
||||
, directory >= 1.0 && < 1.2
|
||||
, transformers >= 0.2.2 && < 0.3
|
||||
, wai-app-static >= 1.0 && < 1.1
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai-app-static >= 1.1 && < 1.2
|
||||
, wai >= 1.1 && < 1.2
|
||||
, text >= 0.9 && < 1.0
|
||||
, file-embed >= 0.0.4.1 && < 0.5
|
||||
, http-types >= 0.6.5 && < 0.7
|
||||
|
||||
@ -79,13 +79,13 @@ library
|
||||
, yesod-form >= 0.4 && < 0.5
|
||||
, monad-control >= 0.3 && < 0.4
|
||||
, transformers >= 0.2.2 && < 0.3
|
||||
, wai >= 1.0 && < 1.1
|
||||
, wai-extra >= 1.0 && < 1.1
|
||||
, wai >= 1.1 && < 1.2
|
||||
, wai-extra >= 1.1 && < 1.2
|
||||
, wai-logger >= 0.1.2
|
||||
, hamlet >= 0.10 && < 0.11
|
||||
, shakespeare-js >= 0.10 && < 0.11
|
||||
, shakespeare-css >= 0.10 && < 0.11
|
||||
, warp >= 1.0 && < 1.1
|
||||
, warp >= 1.1 && < 1.2
|
||||
, blaze-html >= 0.4.1.3 && < 0.5
|
||||
exposed-modules: Yesod
|
||||
ghc-options: -Wall
|
||||
|
||||
Loading…
Reference in New Issue
Block a user