Revert change from #654
commitba9b28d2dbb3fb12101911624b112570781ac207
authorMichael Snoyman <michael@snoyman.com>
dateWed 22 Nov 2017, 11:13 (9 years ago)
parentebb7ca9
wai-extra/ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 3.0.20.2
2+
3+* Revert previous change to `srequest`, which caused breakage
4+
15## 3.0.20.1
26
37* Set `requestBodyLength` for `srequest` [#654](https://github.com/yesodweb/wai/pull/654)
wai-extra/Network/Wai/Test.hs−1
@@ -176,7 +176,6 @@ srequest (SRequest req bod) = do
176176 case bss of
177177 [] -> ([], S.empty)
178178 x:y -> (y, x)
179− , requestBodyLength = KnownLength $ fromIntegral $ L.length bod
180179 }
181180 req'' <- addCookiesToRequest req'
182181 response <- liftIO $ do
wai-extra/wai-extra.cabal+1−1
@@ -1,5 +1,5 @@
11Name: wai-extra
2−Version: 3.0.20.1
2+Version: 3.0.20.2
33Synopsis: Provides some basic WAI handlers and middleware.
44description:
55 Provides basic WAI handler and middleware functionality: