@@ -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
@@ -346,7 +346,7 @@ parseContentType a = do
346346-- Note: This function does not limit the memory it allocates.
347347-- When dealing with untrusted data (as is usually the case when
348348-- receiving input from the internet), it is recommended to
349−-- use the parseRequestBodyEx function instead.
349+-- use the 'parseRequestBodyEx' function instead.
350350parseRequestBody :: BackEnd y
351351 -> Request
352352 -> IO ([Param], [File y])