Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 19665 invoked from network); 13 Feb 2009 19:42:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2009 19:42:41 -0000 Received: (qmail 38108 invoked by uid 500); 13 Feb 2009 19:42:36 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 38086 invoked by uid 500); 13 Feb 2009 19:42:36 -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 38077 invoked by uid 99); 13 Feb 2009 19:42:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 11:42:36 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of solutio@gmail.com designates 209.85.217.175 as permitted sender) Received: from [209.85.217.175] (HELO mail-gx0-f175.google.com) (209.85.217.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2009 19:42:26 +0000 Received: by gxk23 with SMTP id 23so1301343gxk.10 for ; Fri, 13 Feb 2009 11:42:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to:cc :references:in-reply-to:subject:date:mime-version:content-type :content-transfer-encoding:x-priority:x-msmail-priority:importance :x-mailer:x-mimeole; bh=SYhMxD4WiXNjJ9J65AAcmd4V2oyUroyRywo/utHFVtI=; b=tt15cBUwZgKlWGDPRP2Lxirnkgs5u4Qw8pIdUDcsKvk3JVRZv29f7zB1SWKXoijf5/ ZhIuX9s73TnsDCWIy8Y0iVwAc+uoeKqk7x7M8luJ36CqakYqPwV/PZ7MWvy6US+gdXjT iyvqqWI/XqQsbZY0S8N1Pr9GXg3mv+K8iOZAA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:cc:references:in-reply-to:subject:date :mime-version:content-type:content-transfer-encoding:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole; b=K4+i7p7npUfEyR4TRmHHkHVw8z+64GxjeTBRsRHLpoCLyJNt1IX3So+t9PROFsXjBy eeU5SwgtDj0vXLjisMTLkSlkRc+iyC043AexfoixOuOeZU1N25XmOjhFDSveEUP3I9ID 99zNigO5VpT78XAmEdQ4oha1fUjQHPPMmY8eM= Received: by 10.220.86.203 with SMTP id t11mr879083vcl.108.1234554125183; Fri, 13 Feb 2009 11:42:05 -0800 (PST) Received: from ICAD820ASAIP ([207.65.232.226]) by mx.google.com with ESMTPS id 4sm736561yxq.43.2009.02.13.11.42.04 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Feb 2009 11:42:04 -0800 (PST) Message-ID: From: "Solutio at Gmail" To: "Mark Hedges" Cc: =?iso-8859-1?Q?Andr=E9_Warnier?= , References: <498F6A36.1050308@ice-sa.com> <498F87BE.9070900@ice-sa.com> <4991F9DC.7020002@ice-sa.com> <173B8D1674A746ADAF9F3EEE5D383A4E@ICAD820ASAIP> <2AC81BE16DF1468B871903C46D4E8DA8@ICAD820ASAIP> In-Reply-To: Subject: Re: Capturing Apache response Date: Fri, 13 Feb 2009 13:42:04 -0600 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8050.1202 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8050.1202 X-Virus-Checked: Checked by ClamAV on apache.org We'll look at pnotes too. Thanks again. -------------------------------------------------- From: "Mark Hedges" Sent: Friday, February 13, 2009 1:11 PM To: "Solutio at Gmail" Cc: "Andr� Warnier" ; Subject: Re: Capturing Apache response > > I'm trying to say that you shouldn't use custom headers to > save this information, when you should be using the correct > facility, which is pnotes. Why do you want to use the wrong > thing when the right thing is available? > > Mark > > On Fri, 13 Feb 2009, Solutio at Gmail wrote: > >> I understand your point, and we'll strip the custom headers off before >> sending >> the response to the client. We are also looking at another way to dump >> the >> response (in the application's parent template class), which would help >> us >> avoid messing with Apache altogether. >> >> -------------------------------------------------- >> From: "Mark Hedges" >> Sent: Friday, February 13, 2009 12:07 PM >> To: "Solutio at Gmail" >> Cc: "Andr� Warnier" ; >> Subject: Re: Capturing Apache response >> >> > >> > >> > >> > On Tue, 10 Feb 2009, Solutio at Gmail wrote: >> > >> > > First of all, I thank you both for your expert opinion on the topic. >> > > I >> > > have >> > > never had to fiddle with this sort of Apache customization, so I'm >> > > learning in >> > > the process... >> > > >> > > As for the way to communicate the file name to the filter, sure, we >> > > would >> > > like >> > > to keep it as simple as possible and avoid pitfalls. I agree that >> > > Perl is >> > > a >> > > powerful tool that can easily screw many things up if applied >> > > carelessly. >> > > >> > > I guess if we properly implement the custom header option, it >> > > shouldn't >> > > become >> > > a problem. We'll give it a try. >> > >> > To recap, you shouldn't use the custom header, you should >> > probably use $r->pnotes or maybe $c->pnotes to store the >> > information from the beginning to be accessed at the end. >> > This is what the pnotes tables are for. Don't mess with the >> > headers. Headers are for communicating with the client. >> > >> > Mark >> > >>