On Saturday May 18, 2002 02:26 pm, Ian Bicking wrote:
> On Sat, 2002-05-18 at 11:25, Geoffrey Talvola wrote:
> > - I modified it to use a ThreadedHTTPServer class I found in an old
> > comp.lang.python post.  So now it actually handles requests on separate
> > threads, so it will support concurrent requests.
>
> I suppose this should get rid of the problem of blocking requests that
> someone mentioned on the discuss list.

Yup.  With the old code if you did "telnet localhost 8080" that would block 
all other requests, but that's no longer the case with the 
ThreadedHTTPServer.

>
> > - I also removed support for POST requests without a content-length
> > header.
>
> Okay... I'm realizing that input should actually be read for any method,
> if a content-length exists.  PUT is the the other traditional method,
> but many DAV methods take content -- HTTPAdapter doesn't need to
> understand DAV, it just needs to know to read data when content-length
> is present.  I guess just taking out the line "if self.requestMethod ==
> 'POST':" would be enough.

OK, I made that fix in CVS.

- Geoff

_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to