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 Fri, 18 Jul 2003 07:58:31 GMT
stas        2003/07/18 00:58:31

  Modified:    perl-framework/Apache-Test/lib/Apache TestRequest.pm
  Log:
  expand the docs on OPTIONS
  Submitted by:	David Wheeler <david@kineticode.com>
  
  Revision  Changes    Path
  1.83      +9 -1      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.82
  retrieving revision 1.83
  diff -u -r1.82 -r1.83
  --- TestRequest.pm	11 Jul 2003 18:15:53 -0000	1.82
  +++ TestRequest.pm	18 Jul 2003 07:58:31 -0000	1.83
  @@ -970,7 +970,15 @@
   
   =item OPTIONS
   
  -META: complete
  +  my $res = OPTIONS $uri;
  +
  +Sends an C<OPTIONS> request to the Apache test server. Returns an
  +C<HTTP::Response> object with the I<Allow> header, indicating which
  +methods the server supports. Possible methods include C<OPTIONS>,
  +C<GET>, C<HEAD> and C<POST>. This function thus can be useful for
  +testing what options the Apache server supports. Consult the HTTPD 1.1
  +specification, section 9.2, at
  +I<http://www.faqs.org/rfcs/rfc2616.html> for more information
   
   =back
   
  
  
  

Mime
View raw message