From dev-return-35729-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Sun Jan 19 17:09:59 2003 Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 11804 invoked by uid 500); 19 Jan 2003 17:09:58 -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: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 11790 invoked from network); 19 Jan 2003 17:09:57 -0000 Date: Sun, 19 Jan 2003 09:09:59 -0800 From: Justin Erenkrantz Reply-To: Justin Erenkrantz To: dev@httpd.apache.org Subject: Re: Need your advice about proper design of input and output filters Message-ID: <2147483647.1042967399@[10.0.1.47]> In-Reply-To: References: X-Mailer: Mulberry/3.0.0 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Status: No, hits=-2.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES version=2.50-cvs X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --On Sunday, January 19, 2003 2:33 PM +0100 Yuriy Pasichnyk wrote: > I think that the problem is quite generic so instead of > hacking/modifying mod_dav I was thinking of writing separate apache > module/filter that can be reused by other people as well. Yeah, WebDAV has a slight architectural problem in that there is resource metadata in the body. It'd be much nicer if it could constrain itself to only the header rather than the body. That would make it far easier for proxies to deal with WebDAV. Alas... Regardless, you might want to take a look at an extension to the httpd module for Subversion (mod_dav_svn) that does the rewriting for DAV requests on-the-fly using filters. http://svn.collab.net/repos/svn/branches/dav-mirror/subversion/mod_da v_svn/ In particular, look at the filters in mod_dav_svn. It'll tell you how one particular person thought it should work. It'd be nice to make that more general, but there's always other things to do. -- justin