You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2003/04/06 01:30:44 UTC

cvs commit: httpd-apreq/t/response/TestApReq inherit.pm

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;