Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 47487 invoked from network); 13 Jan 2008 09:17:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jan 2008 09:17:55 -0000 Received: (qmail 8780 invoked by uid 500); 13 Jan 2008 09:17:38 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 8713 invoked by uid 500); 13 Jan 2008 09:17:38 -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 8702 invoked by uid 99); 13 Jan 2008 09:17:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 01:17:38 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [81.7.202.143] (HELO mxvs2.esa.t-systems.com) (81.7.202.143) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Jan 2008 09:17:12 +0000 Received: from unknown (HELO nl-exc-01.intra.local) ([82.210.235.24]) by mx.esa.t-systems.com with ESMTP; 13 Jan 2008 09:17:13 +0000 Received: from 10.100.161.17 ([10.100.161.17]) by nl-exc-01.intra.local ([10.100.254.122]) with Microsoft Exchange Server HTTP-DAV ; Sun, 13 Jan 2008 09:17:14 +0000 Received: from nb-kiffing by nl-exc-01.intra.local; 13 Jan 2008 10:17:14 +0100 Subject: Logging POST body ... From: Kiffin Gish To: dev@httpd.apache.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 13 Jan 2008 10:17:14 +0100 Message-Id: <1200215834.6499.16.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 X-NAIMIME-Disclaimer: 1 X-NAIMIME-Modified: 1 X-Virus-Checked: Checked by ClamAV on apache.org Hi there. I'm using ap_hook_translate_name(hook_translate_name, NULL, NULL, APR_HOOK_REALLY_FIRST). Within the routine hook_translate_name I'd like to check for requests of type POST and then log the body. How can I do this, e.g. by peeking forward and reading the incoming stream without actually affecting/emptying the contents of the relevant bucket? Thanks alot in advance, Kiffin -- Kiffin Gish | Desktop & Services Development | TomTom | kiffin.gish@tomtom.com | +31 (0) 6 15529214 mobile | +31 (0) 20 850 0989 office This e-mail message contains information which is confidential and may be privileged. It is intended for use by the addressee only. If you are not the intended addressee, we request that you notify the sender immediately and delete or destroy this e-mail message and any attachment(s), without copying, saving, forwarding, disclosing or using its contents in any other way. TomTom N.V., TomTom International BV or any other company belonging to the TomTom group of companies will not be liable for damage relating to the communication by e-mail of data, documents or any other information.