httpd-test-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestRequest.pm
Date Thu, 02 Oct 2003 17:40:15 GMT
stas        2003/10/02 10:40:15

  Modified:    perl-framework/Apache-Test/lib/Apache TestRequest.pm
  Log:
  the simplest POST idiom to send any data is:
    my $res = POST $uri, content => $data;
  
  Revision  Changes    Path
  1.90      +4 -0      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.89
  retrieving revision 1.90
  diff -u -u -r1.89 -r1.90
  --- TestRequest.pm	2 Oct 2003 17:38:13 -0000	1.89
  +++ TestRequest.pm	2 Oct 2003 17:40:15 -0000	1.90
  @@ -907,6 +907,10 @@
   Parameters> can follow the optional array reference of parameters, or after
   C<$uri>.
   
  +To upload a chunk of data, simply use:
  +
  +  my $res = POST $uri, content => $data;
  +
   =head3 POST_STR
   
   A shortcut function for C<POST($uri, @args)-E<gt>content>.
  
  
  

Mime
View raw message