Re: [Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-06 Thread Ian Bicking
Google has changed their interface -- that new tree view is quite nice. Especially the little orange bar to indicate where in the thread you are. I haven't seen that before. ___ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge

[Webware-devel] SpacesNotTabs debate raging on comp.lang.python

2001-12-06 Thread Tavis Rudd
It seems we're not the only ones having this debate: http://groups.google.com/groups?hl=en&threadm=pan.2001.12.06.13.23.30.752127.1733%40uchicago.edu&prev=/groups%3Fhl%3Den%26group%3Dcomp.lang.python ;) ___ Webware-devel mailing list [EMAIL PROTECTED]

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-06 Thread Tavis Rudd
On Thursday 06 December 2001 15:40, Geoffrey Talvola wrote: > At 03:34 PM 12/6/01 -0800, Tavis Rudd wrote: > >The keyword 'class' might be a bit misleading as we're not > > promissing 1-to-1 mappings to actual classes, but that's no big > > deal either. In fact, we can use anything that supports

Re: [Webware-devel] ServletFactory method name weirdness

2001-12-06 Thread Geoffrey Talvola
At 06:43 PM 12/6/01 -0500, Geoffrey Talvola wrote: >At 12:32 PM 12/6/01 -0800, Tavis Rudd wrote: >>Why are method names different between ServletFactory and >>PythonServletFactory? >> >>ServletFactory.createServletForTransaction(...) >>PythonServletFactory.servletForTransaction(...) > >I think cre

Re: [Webware-devel] ServletFactory method name weirdness

2001-12-06 Thread Geoffrey Talvola
At 12:32 PM 12/6/01 -0800, Tavis Rudd wrote: >Why are method names different between ServletFactory and >PythonServletFactory? > >ServletFactory.createServletForTransaction(...) >PythonServletFactory.servletForTransaction(...) I think createServletForTransaction is actually dead code. I can't fi

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-06 Thread Geoffrey Talvola
At 03:34 PM 12/6/01 -0800, Tavis Rudd wrote: >you wrote: > > - Why force all settings into a single file? I actually liked the > > fact that settings for different components live in different > > files, although I suppose I wouldn't mind the _option_ of combining > > them into a single file. In

Re: [Webware-devel] config file layout schemes for WebKit and other components

2001-12-06 Thread Tavis Rudd
On Thursday 06 December 2001 15:04, you wrote: > On Thu, Dec 06, 2001 at 03:34:29PM -0800, Tavis Rudd wrote: > > If we just make WebKit and all other Webware components > > """import webware_config""" to get their settings we can use a > > single 'webware_config.py' module or 'webware_config/' pac

[Webware-devel] config file layout schemes for WebKit and other components

2001-12-06 Thread Tavis Rudd
Geoff, On Thursday 06 December 2001 06:32, Geoffrey Talvola wrote: > Tavis, > > I'm slowly taking a look at your redesign code. The first big > incompatibility I noticed is the configuration mechanism. My > concerns are: > > - For Windows users, it's much nicer to have a specific extension > ass

RE: [Webware-devel] mod_webkit bug?

2001-12-06 Thread Love, Jay
>From memory, with cgi, if there is a location header, a redirect is assumed. With mod_webkit, you need to set the response code, I think. Jay > -Original Message- > From: Chuck Esterbrook [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 06, 2001 1:44 PM > To: [EMAIL PROTECTED] > Cc

Re: [Webware-devel] mod_webkit bug?

2001-12-06 Thread Chuck Esterbrook
On Thursday 06 December 2001 12:28 pm, Tavis Rudd wrote: > To rephrase my question, where is the fake 'Status' header set by > HTTPResponse translated into a real HTTP response code header? > > > Since a raw response contains the headers in a clearly delimited > > fashion, there should be no hang

Re: [Webware-devel] mod_webkit bug?

2001-12-06 Thread Tavis Rudd
On Thursday 06 December 2001 11:08, Chuck Esterbrook wrote: > On Thursday 06 December 2001 12:11 pm, Tavis Rudd wrote: > > This brings up a question I've been meaning to ask about > > adapters.   Do they set the HTTP response header or is that the > > responsiblity of the AppServer, Response, etc?

[Webware-devel] ServletFactory method name weirdness

2001-12-06 Thread Tavis Rudd
Why are method names different between ServletFactory and PythonServletFactory? ServletFactory.createServletForTransaction(...) PythonServletFactory.servletForTransaction(...) ___ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.

Re: [Webware-devel] mod_webkit bug?

2001-12-06 Thread Chuck Esterbrook
On Thursday 06 December 2001 12:11 pm, Tavis Rudd wrote: > This brings up a question I've been meaning to ask about adapters.   > Do they set the HTTP response header or is that the responsiblity of > the AppServer, Response, etc?  I couldn't find any code, where they > do this, but I also couldn'

Re: [Webware-devel] mod_webkit bug?

2001-12-06 Thread Tavis Rudd
This brings up a question I've been meaning to ask about adapters. Do they set the HTTP response header or is that the responsiblity of the AppServer, Response, etc? I couldn't find any code, where they do this, but I also couldn't find anywhere that AppServer or HTTPResponse do it either.

[Webware-devel] mod_webkit bug?

2001-12-06 Thread Chuck Esterbrook
The following redirect works with OneShot.cgi, but not with mod_webkit: from WebKit.HTTPServlet import HTTPServlet class Main(HTTPServlet): def _respond(self, trans): trans.response().setHeader("Location", "Home") def respondToGet(self, trans):