Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

""

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@219 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52
  • Loading branch information...
commit c4523b302ba591f1fb018db5d07feea19270b2c3 1 parent 4ff7b61
@klacke authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 man/yaws_api.5
View
8 man/yaws_api.5
@@ -190,10 +190,14 @@ part of the URL. This only works with GET requests.
.TP
-\fBparse_post_data(Arg)\fR
+\fBparse_post(Arg)\fR
This function will parse the POST data as supplied from the browser.
It will return a {Key, Value} list of the items set by the browser.
+
+.TP
+\fBparse_multipart_post(Arg)\fR
+
If the browser has set the Content-Type header to the value
"multipart/form-data", which is the case when the browser
wants to upload a file to the server the following happens:
@@ -220,7 +224,7 @@ Example usage could be:
<erl>
out(A) ->
- case yaws_api:parse_post_data(A) of
+ case yaws_api:parse_multipart_post(A) of
{cont, Cont, Res} ->
St = handle_res(A, Res),
{get_more, Cont, St};

0 comments on commit c4523b3

Please sign in to comment.
Something went wrong with that request. Please try again.