Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 89131 invoked from network); 22 Mar 2009 03:23:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Mar 2009 03:23:26 -0000 Received: (qmail 10785 invoked by uid 500); 22 Mar 2009 03:23:25 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 10711 invoked by uid 500); 22 Mar 2009 03:23:25 -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 10701 invoked by uid 99); 22 Mar 2009 03:23:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Mar 2009 03:23:25 +0000 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 [68.142.207.70] (HELO web31807.mail.mud.yahoo.com) (68.142.207.70) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 22 Mar 2009 03:23:15 +0000 Received: (qmail 32418 invoked by uid 60001); 22 Mar 2009 03:22:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1237692172; bh=D8wNGYVVH+zypFYMKLUt0W+TEBK2wZcHAd+w5wIIt9Q=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=09HMTjOrRajFYzk0fjIq3xrLfQWQkvyfxEffmptLxMGKYthJz29bXR81FNbQkWBINHJ1oeiu/JO6mhqjByPOgpzeNrvCFabZNQZq5HsZ+zoiqXUxyIoGH3OOcuZoB+SDsgoaA8AJY4JkcnvylgZucf+nPkFrOWdtKy8vAAhx/rY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=zLSTrBKKWh45Oe11Y/ovJfv/5XWXCBG+Vc52kGuTmVorSQzF164EP388ob4tXbXxBXFaBn0gkG1jPdBHM58JcblnhIBhVP0hXYIIwzC/rawX/3DHMHqfrnLFtq/PrKxHPDZYHxJQySS4GsRBMIFRbhN/HxCdZQZ0YtMIvOurCFw=; Message-ID: <892935.30955.qm@web31807.mail.mud.yahoo.com> X-YMail-OSG: ASMDP70VM1lS2P02d7spAIB0uKhze9tJfhYaWU98wSg_c11xRD43cG1aGxDzYB.wcdjGR4EkBd2KUJOD70ATvVoh4Ow28cvq9z2H9OzvRcv9u_HskVBoc3_0lX9ZwaeDjlr5n9HNoLuq_YQXkm4U2EZR3h6g0s5eHf7rgLaAx9.FyD3phlrrrVSsTKMq0rKUEHcyGXjQcDYdiVONiUoxPTO7HJx21MevQA-- Received: from [24.218.180.220] by web31807.mail.mud.yahoo.com via HTTP; Sat, 21 Mar 2009 20:22:52 PDT X-Mailer: YahooMailRC/1277.35 YahooMailWebService/0.7.289.10 Date: Sat, 21 Mar 2009 20:22:52 -0700 (PDT) From: Erik Westland Subject: Input filter to process POST variables (e.g. mod_form) To: modules-dev@httpd.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org I am writing an output filter that needs to record request (headers and POST/GET vars) and response data (status and content-length). I was planning to write an input filter to capture/relay the POST/GET data (via "r->notes") to an output filter for processing. It seems that "mod_form" (see: http://apache.webthing.com/mod_form/) does the parameter processing, but comes with the following ominous caveat: "mod_form works with GET but is largely untested under POST, and appears to have problems with POST and HTTP Keepalive. That will be fixed, but it's not currently a priority." Q: Does anyone know if this is safe to use? Their support page lists mod_form as: "unlikely to represent value to you." Q: Is there another alternative to writing my own? If not, any idea what the keepalive issue was? Q: Apache processes variables in the URL (parses into r->args) during POST requests, but the mod_form implementation doesn't look for r->args when handling POST requests. Is this disallowed/discouraged in the spec or an oversight in the implementation? Thanks, Erik