Copyright © 2007 Mochi Media, Inc; 2009-2020 Marc Worrell
Authors: Bob Ippolito, Marc Worrell.
Parse multipart/form-data request bodies. Uses a callback function to receive the next parts, can call a progress function to report back the progress on receiving the data.
Adapted from mochiweb_multipart.erl, integrated with webmachine and zotonicfind_boundary/2 | Find the next boundary in the data. |
recv_parse/1 | Receive and parse the form data in the request body. |
find_boundary(Prefix, Data) -> any()
Find the next boundary in the data
recv_parse(Context::z:context()) -> {#multipart_form{}, z:context()}
Receive and parse the form data in the request body. The progress function should accept the parameters [Percentage, Context]
Generated by EDoc