stas 2003/10/02 10:37:20
Modified: perl-framework/Apache-Test/lib/Apache TestRequest.pm Log: POST doc tweaks Submitted by: David Wheeler <[EMAIL PROTECTED]> Revision Changes Path 1.88 +7 -6 httpd-test/perl-framework/Apache-Test/lib/Apache/TestRequest.pm Index: TestRequest.pm =================================================================== RCS file: /home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRequest.pm,v retrieving revision 1.87 retrieving revision 1.88 diff -u -u -r1.87 -r1.88 --- TestRequest.pm 2 Oct 2003 16:28:47 -0000 1.87 +++ TestRequest.pm 2 Oct 2003 17:37:20 -0000 1.88 @@ -897,13 +897,14 @@ =head3 POST - my $res = POST $uri, arg => $val, arg2 => $val; + my $res = POST $uri, [ arg => $val, arg2 => $val ]; -Sends a POST request to the Apache test server and returns an -HTTP::Response object. Any parameters passed after C<$uri> that do not -correspond to those documented in L<Optional Parameters|/Optional -Parameters> will be submitted to the Apache test server as the POST -content. +Sends a POST request to the Apache test server and returns an HTTP::Response +object. An array reference of parameters passed as the second argument will be +submitted to the Apache test server as the POST content. Parameters +corresponding to those documented in L<Optional Parameters|/Optional +Parameters> can follow the optional array reference of parameters, or afte +C<$uri>. =head3 POST_STR
