1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2025-03-20 04:46:22 +09:00

Binary request body decoder

This commit is contained in:
fr33domlover 2016-04-24 18:48:07 +00:00
parent e72284e182
commit 4381213446
3 changed files with 43 additions and 1 deletions
src/Data/Binary

View file

@ -76,7 +76,6 @@ decodeIncremental
-- value again from the same stream, pass the buffer to the next call of
-- this function.
decodeIncremental src readBytes buf decode = go buf $ runGetIncremental decode
--readBytes <- requestBody <$> waiRequest
where
go _ (Fail remains consumed err) = do
let df = DecodeFail