on master help sign in
Clarify that Int64 represents bytes.
commit7465bd9eda2c5b95bb016fa2043f8ec3728a6dca authorSibi Prabakaran <sibi@psibi.in> dateFri 30 Sep 2016, 01:12 (10 years ago) parent67f6e5b
1 file changed+2−2
wai-extra/Network/Wai/Parse.hs+2−2
wai-extra/Network/Wai/Parse.hs+2−2
@@ -184,7 +184,7 @@ setMaxRequestNumFiles l p = p { prboMaxNumFiles=Just l }
184184clearMaxRequestNumFiles :: ParseRequestBodyOptions -> ParseRequestBodyOptions
185185clearMaxRequestNumFiles p = p { prboMaxNumFiles=Nothing }
186186
187−-- | Set the maximum filesize per file.
187+-- | Set the maximum filesize per file (in bytes).
188188--
189189-- @since 3.0.16.0
190190setMaxRequestFileSize :: Int64 -> ParseRequestBodyOptions -> ParseRequestBodyOptions
@@ -320,7 +320,7 @@ getRequestBodyType req = do
320320-- | Parse a content type value, turning a single @ByteString@ into the actual
321321-- content type and a list of pairs of attributes.
322322--
323−-- Since 1.3.2
323+-- @since 1.3.2
324324parseContentType :: S.ByteString -> (S.ByteString, [(S.ByteString, S.ByteString)])
325325parseContentType a = do
326326 let (ctype, b) = S.break (== semicolon) a