Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 90783 invoked from network); 24 May 2009 09:53:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 May 2009 09:53:57 -0000 Received: (qmail 14188 invoked by uid 500); 24 May 2009 09:54:07 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 14160 invoked by uid 500); 24 May 2009 09:54:07 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 14133 invoked by uid 99); 24 May 2009 09:54:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 May 2009 09:54:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of toby.collett@gmail.com designates 209.85.218.165 as permitted sender) Received: from [209.85.218.165] (HELO mail-bw0-f165.google.com) (209.85.218.165) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 May 2009 09:53:58 +0000 Received: by bwz9 with SMTP id 9so2686444bwz.24 for ; Sun, 24 May 2009 02:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=eH0vLvveJtE1YA3Zs9bkJo0cAP2tNjf9g80whoAAnww=; b=oCL4D6L0PWfRm245oHn950Ou2x6gnUUArlvF9ky+lVO0xWpbepfi/mFjzOlQI6EBQV pGTZY1wyUvnJNCu9w5nyStZvXRp7oT+s541ZyNRrWI3DGpJkClvsVqWiPg7hdNMRKRwo jPt3ykuGgZv9I8C9+LlDVAOAdFYotPnhQZmak= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=kxevBQLxCXACkRCL2qBfcnIhpRzJS95QOFS262dCKJK6NMCxFfGVFCWEt45eCLfN1t uLZltimnTELyXr/FkEJq636MTJ7YYjzSAqs51539HLhGQagtYcBA4/Mcies4ijSehmAT xmJFGahRM6k7R4a/E/r6YXDjeUi/oXrzSustg= MIME-Version: 1.0 Sender: toby.collett@gmail.com Received: by 10.204.115.5 with SMTP id g5mr5711397bkq.41.1243158817183; Sun, 24 May 2009 02:53:37 -0700 (PDT) Date: Sun, 24 May 2009 11:53:36 +0200 X-Google-Sender-Auth: e6e58067df49ec86 Message-ID: <97b8070e0905240253n49dc43f4x3918ef5483473191@mail.gmail.com> Subject: Changing the HTTP response code in a proxy response From: Toby Collett To: modules-dev@httpd.apache.org Content-Type: multipart/alternative; boundary=001636b4320fb2b477046aa577fb X-Virus-Checked: Checked by ClamAV on apache.org --001636b4320fb2b477046aa577fb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I am writing a proxy module that supports a custom extension to the mostly unimplemented 'Delta coding' RFC. The original standard uses a 226 http status code for its responses to help deal with HTTP 1.0 web caches (although this does not completely solve the caching problem). To be compatible with the delta coding standard I need to be able to set the 226 status code on my responses, but I have having trouble working out how I would do this in the apache module framework. From what I understand this needs to be done during header parsing, as the headers are sent to the downstream server before the body is processed, but I have been unable to find the right mechanism to do this. Regards, Toby Collett --001636b4320fb2b477046aa577fb--