aboutsummaryrefslogtreecommitdiff
path: root/man/magi.3
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
commit2aabe59373c29410c00ae59cd86cb475c961b56c (patch)
tree43063644a70dee80276cc65b8a0509c154c22473 /man/magi.3
parentc452c3dc47bacf1cb4dfd7a8129d62fa8819282e (diff)
downloadmagi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar.xz
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.zip
magi_response_send, urlenc docs.
Diffstat (limited to 'man/magi.3')
-rw-r--r--man/magi.316
1 files changed, 13 insertions, 3 deletions
diff --git a/man/magi.3 b/man/magi.3
index fcf6679..2db61b4 100644
--- a/man/magi.3
+++ b/man/magi.3
@@ -23,12 +23,22 @@ Main task of the
library is to analyse CGI request and represent it to the user in
.B magi_request
data structure. This is done by calling
-.B magi_parse
+.B magi_parse_head
+and
+.B magi_parse_body
+(such separation allows to determine body processing on head content,
+if there is no need to do so you can use shortcut
+.BR magi_parse )
on initialized via
.B magi_request_init
request variable. After initialization the user is able to configure
-limits on the input and setup callback to process files loaded as
-.IR multipart/form-data .
+limits on the input
+.RB ( magi_request_limits ,
+everything is unlimited as default)
+and setup callback to process files loaded as
+.I multipart/form-data
+.RB ( magi_file_callback ,
+with default addon_max of 1KB).
The
.B magi
library comes with