Skip to content
This repository
Browse code

""

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
Claes Wikstrom authored

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. +6 2 man/yaws_api.5
8 man/yaws_api.5
@@ -190,10 +190,14 @@ part of the URL. This only works with GET requests.
190 190
191 191
192 192 .TP
193   -\fBparse_post_data(Arg)\fR
  193 +\fBparse_post(Arg)\fR
194 194 This function will parse the POST data as supplied from the browser.
195 195 It will return a {Key, Value} list of the items set by the browser.
196 196
  197 +
  198 +.TP
  199 +\fBparse_multipart_post(Arg)\fR
  200 +
197 201 If the browser has set the Content-Type header to the value
198 202 "multipart/form-data", which is the case when the browser
199 203 wants to upload a file to the server the following happens:
@@ -220,7 +224,7 @@ Example usage could be:
220 224 <erl>
221 225
222 226 out(A) ->
223   - case yaws_api:parse_post_data(A) of
  227 + case yaws_api:parse_multipart_post(A) of
224 228 {cont, Cont, Res} ->
225 229 St = handle_res(A, Res),
226 230 {get_more, Cont, St};

0 comments on commit c4523b3

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