httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject cvs commit: httpd-apreq/t/response/TestApReq inherit.pm
Date Sat, 05 Apr 2003 23:30:44 GMT
joes        2003/04/05 15:30:44

  Added:       t/response/TestApReq inherit.pm
  Removed:     t        api.pl book.gif cookie.t inherit.t
                        request-cookie.pl request-param.pl
                        request-upload.pl request.t
  Log:
  removing old Apache::test tests.
  
  Revision  Changes    Path
  1.1                  httpd-apreq/t/response/TestApReq/inherit.pm
  
  Index: inherit.pm
  ===================================================================
  package TestApReq::inherit;
  use strict;
  use Apache::Request;
  use Apache::Constants qw/OK/;
  sub handler {
      my $r = Apache->request;
      $r->send_http_header('text/plain');
  
      my $apr = Apache::Request->new($r);
      printf "method => %s\n", $apr->method;
      return OK;
  }
  
  1;
  
  
  

Mime
View raw message