]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Network/HTTP/Lucu/Resource/Internal.hs
rename: reqMustHaveBody --> reqHasBody
[Lucu.git] / Network / HTTP / Lucu / Resource / Internal.hs
index 1993eb251deafdb09dbb98f0916601b581dc5a15..b13d3a9f14062e76b3090086cf992f98aae03f4c 100644 (file)
@@ -302,7 +302,7 @@ getChunk' n
     | n < 0     = fail ("getChunk: n must not be negative: " ⧺ show n)
     | n ≡ 0     = return (∅)
     | otherwise = do req ← getRequest
-                     if reqMustHaveBody req then
+                     if reqHasBody req then
                          askForInput =≪ getInteraction
                      else
                          driftTo DecidingHeader *> return (∅)