On Sun, Feb 20, 2005 at 12:00:10PM +0100, Martijn van Beers wrote: > Hi, here's a patch to make Filter::HTTPD accept more than one request > on a single connection. I've done this because I am probably going to > be using Filter::HTTPD for a thing that pretends to be a GroupDAV and/or > CalDAV server, and that needs HTTP 1.1, which requires support for > keep-alive.
Applied. Tests pass. Committed. Thank you. :) > Which brings me to the following question. Is there a reason to check > which method the request has, other than being able to create error > responses earlier in a few cases? Putting in all methods from > HTTP/DAV/CalDAV seems like a bad route to take. And then it would need > updating every time a new HTTP extension came around. > > So, unless there is a good reason to keep doing this, I would like to > remove the method checks. There may be a good reason for it, but I've usually kept away from Filter::HTTPD and don't know it. It may be squeamishness towards supporting file uploads (which would be buffered in memory), but that's just a wild guess. -- Rocco Caputo - http://poe.perl.org/