Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 22092 invoked from network); 27 Jun 2008 15:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2008 15:47:15 -0000 Received: (qmail 63473 invoked by uid 500); 27 Jun 2008 15:47:12 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63422 invoked by uid 500); 27 Jun 2008 15:47:12 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63411 invoked by uid 99); 27 Jun 2008 15:47:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 08:47:12 -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 (athena.apache.org: local policy) Received: from [204.11.219.140] (HELO ls6.firehawksystems.com) (204.11.219.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jun 2008 15:46:21 +0000 Received: from albook-wireless.brianfrance.com (adsl-68-253-45-124.dsl.ipltin.ameritech.net [68.253.45.124]) (authenticated bits=0) by ls6.firehawksystems.com (8.14.1/8.14.1) with ESMTP id m5RFjNaa051581 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 27 Jun 2008 08:45:25 -0700 (PDT) Message-Id: <5F0C7471-5BC4-4BB7-BF0E-0418A9D05E0B@firehawksystems.com> From: "Brian J. France" To: dev@httpd.apache.org In-Reply-To: <1214579086.19770.43.camel@localhost> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: ap_custom_response content type 'text/xml' Date: Fri, 27 Jun 2008 11:45:21 -0400 References: <1214426285.7100.3.camel@localhost> <1214488133.16080.65.camel@localhost> <7FF7DD08-9E06-4755-8E6F-17FA59FE913F@firehawksystems.com> <1214553627.6515.5.camel@localhost> <1214573320.19770.32.camel@localhost> <7A30E12A-DDE0-4949-9524-16C0BC38469D@firehawksystems.com> <1214579086.19770.43.camel@localhost> X-Mailer: Apple Mail (2.924) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on ls6.firehawksystems.com X-Virus-Status: Clean X-Virus-Checked: Checked by ClamAV on apache.org On Jun 27, 2008, at 11:04 AM, Kiffin Gish wrote: > Sorry to keep bugging you, but where does this -1 belong? In my example there was this line: /* split off after value */ apr_bucket_split(b, end - ct_header + 14 + 1); + 14 is to skip the "Content-Type: " + 1 is to skip the "\r" This is where you want to change that to -1 instead to keep the \n (or the ; if you scan for ; instead of ;). Brian