You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2005/07/06 21:40:07 UTC
svn commit: r209505 -
/perl/modperl/docs/trunk/src/docs/general/testing/testing.pod
Author: stas
Date: Wed Jul 6 12:40:06 2005
New Revision: 209505
URL: http://svn.apache.org/viewcvs?rev=209505&view=rev
Log:
more UPLOAD syntax tweaks from William
Modified:
perl/modperl/docs/trunk/src/docs/general/testing/testing.pod
Modified: perl/modperl/docs/trunk/src/docs/general/testing/testing.pod
URL: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/general/testing/testing.pod?rev=209505&r1=209504&r2=209505&view=diff
==============================================================================
--- perl/modperl/docs/trunk/src/docs/general/testing/testing.pod (original)
+++ perl/modperl/docs/trunk/src/docs/general/testing/testing.pod Wed Jul 6 12:40:06 2005
@@ -1755,9 +1755,13 @@
UPLOAD $location, filename => $filename, 'X-Header-Test' => 'Test';
-Or additional parameters:
+This function sends the form data in a POST response.
- UPLOAD $location, filename => $filename, 'username' => 'Captain Kirk', 'password' => 'beam me up';
+To insert additional parameters, append them as 'key' =E<gt> 'value'
+elements as in the following example:
+
+ UPLOAD $location, filename => $filename, my_file_name => 'Test.txt',
+ username => 'Captain Kirk', password => 'beam me up';
To upload a string as a file, use:
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org