Ian Bicking wrote: > With talk of a mini-Apache, patches to Application to get it to serven > HTTP, and all that, I thought I'd try a strategy I brought up earlier, > but which no one seemed very excited about: an HTTP-serving adapter. > I'd been working with BaseHTTPServer already (included with > Python), and > it was surprisingly easy. 1 hour later: > > http://www.colorstudy.net/software/webware/HTTPAdapter.py > > With a little testing I see no reason this couldn't be included with > Webware, providing the mini-HTTP-server that is sometimes brought up. > Maybe (maybe) not as elegant as having Application serve HTTP > directly, > but it's simple, short (160 lines), and guaranteed not to have any > adverse effect on anything else in Webware, since it touches nothing > else.
Ian, I finally tried your HTTPAdapter.py. Nice -- I'd like to include this in Webware, probably in an Experimental subdirectory. One thing that didn't seem to work properly though was the FileUpload example servlet. Instead of uploading the file, it just returns the same page when you press the submit button. Any idea why this doesn't work? - Geoff _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
