Tim Bray wrote:
> Passes lots of tests, but still lots of work to do: written up at
> (extreme) length here:
> http://www.tbray.org/ongoing/When/200x/2007/06/25/mod_atom
> 
> I don't know if httpd needs this mod_atom, but I suspect that it'll need
> some mod_atom or another before too long.  It would be nice to be able
> to POST random bits and have httpd say "OK, got it, here's where I put
> them".

In a way, you could view the Atom Publishing Protocol in the same light
as DAV.  In that case, it makes sense to have generic module which
handles the protocol bits of APP, and provides a set of
callbacks/providers for other modules to use.

For example, this is how mod_dav interacts with both mod_dav_fs and
mod_dav_svn.

As it is currently written, I don't think it makes too much sense to put
it into httpd -- but if we could work on abstracting down a core, and a
set of separate hooks for storage + maybe a way to easily build end user
display, I think it would be a very cool thing to include.

On the test cases: Have you looked at how the Apache Perl Test Framework
works?  Its well... Perl... But it works pretty well for interacting
with modules and testing over HTTP:
http://svn.apache.org/repos/asf/httpd/test/trunk/perl-framework/

-Paul

Reply via email to