perl-docs-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r209505 - /perl/modperl/docs/trunk/src/docs/general/testing/testing.pod
Date Wed, 06 Jul 2005 19:40:07 GMT
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


Mime
View raw message