Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 22223 invoked from network); 21 Sep 2005 00:48:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Sep 2005 00:48:24 -0000 Received: (qmail 52845 invoked by uid 500); 21 Sep 2005 00:48:17 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 52831 invoked by uid 500); 21 Sep 2005 00:48:17 -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 52818 invoked by uid 99); 21 Sep 2005 00:48:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 17:48:17 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.86.89.63] (HELO smtpauth03.mail.atl.earthlink.net) (209.86.89.63) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 17:48:25 -0700 Received: from [68.166.52.135] (helo=localhost) by smtpauth03.mail.atl.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 4.34) id 1EHsmE-0003nv-Nf; Tue, 20 Sep 2005 20:47:59 -0400 Date: Tue, 20 Sep 2005 18:47:45 -0600 (Mountain Daylight Time) From: Larry Leszczynski To: Christopher Stanton cc: modperl@perl.apache.org Subject: Re: Strange $r-print($buffer)/Content-Disposition problem In-Reply-To: <4330A0AB.1050003@mail.utexas.edu> Message-ID: References: <4330A0AB.1050003@mail.utexas.edu> X-X-Sender: larryl@emailplus.org@mail.messagingengine.com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-ELNK-Trace: 1ded6e33b7147bb2524a3a96dbedd097239a348a220c2609ee217cf588df487372211a3dceee546893caf27dac41a8fd350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.166.52.135 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Christopher - I don't know if it's a typo but this: > $write_buffer .= "\r\n" . $jpeg . "\r\n\r\n"; > $r->print($write_buffer); is not the same as this: > $r->print($write_buffer); > $r->print($jpeg); > $r->print("\r\n\r\n"); since the latter does not insert "\r\n" between $write_buffer and $jpeg... Larry