Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 36908 invoked from network); 21 Sep 2005 23:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 23:47:29 -0000 Received: (qmail 31689 invoked by uid 500); 21 Sep 2005 23:47:22 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 31673 invoked by uid 500); 21 Sep 2005 23:47:22 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 31658 invoked by uid 99); 21 Sep 2005 23:47:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 16:47:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of boysenberry@humaniteque.com designates 12.164.26.131 as permitted sender) Received: from [12.164.26.131] (HELO static.habitatlife.com) (12.164.26.131) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Sep 2005 16:47:30 -0700 Received: from c-67-186-78-94.hsd1.il.comcast.net ([67.186.78.94] helo=[192.168.0.100]) by static.habitatlife.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1EIEIm-0002RT-Rh for modperl@perl.apache.org; Wed, 21 Sep 2005 19:47:00 -0400 Mime-Version: 1.0 (Apple Message framework v622) To: mod_perl Message-Id: Content-Type: multipart/alternative; boundary=Apple-Mail-1-862840140 From: Boysenberry Payne Subject: MP2 version of Apache->request Date: Wed, 21 Sep 2005 18:46:51 -0500 X-Mailer: Apple Mail (2.622) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - static.habitatlife.com X-AntiAbuse: Original Domain - perl.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - humaniteque.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --Apple-Mail-1-862840140 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed I used to have: my $r = Apache->request(); $r->content_type("text/html"); $r->send_http_header; It seems the MP2 syntax is now: $r = Apache2::RequestRec->new($c); $r->content_type("text/html"); How do I get $c? How do I send the http header now? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com --Apple-Mail-1-862840140 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII I used to have: my $r = Apache->request(); $r->content_type("text/html"); $r->send_http_header; It seems the MP2 syntax is now: Arial$r = Apache2::RequestRec->new($c); $r->content_type("text/html"); How do I get $c? How do I send the http header now? Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com --Apple-Mail-1-862840140--