[Zope-dev] bug in ZSQL methods caching; new explicit 'nocache' feature for SQL Methods

2000-07-29 Thread Brian Takashi Hooper
Hi Zopistas, I've been playing a bit with adding a feature to Z SQL Methods to allow an explicit 'nocache' parameter to be sent to an SQL Method, so that a particular query can be run pre-clearing the cache for that particular query, while leaving the rest of the cache intact. So you for example

[Zope-dev] patches to make ZServer's http_request subclassable

2000-07-28 Thread Brian Takashi Hooper
Hi all - I made a couple of patches to ZServer (medusa, actually) to make medusa'a http_request objects subclassable... the motivation is to make customizing medusa / ZServer's logging easier to do just overriding http_request's log() method in a subclass. Patches are attached to this message, s

[Zope-dev] HTTP user agent?

2000-07-19 Thread Brian Takashi Hooper
Hi Zopistas, For anyone that might know: Is there a particular reason that the User-Agent header is not part of the request data that ZServer sends in the environment to ZPublisher? It looks like the user agent can also be provided to Zope's request object just by adding a line for 'user-agent'

[Zope-dev] customizing Zope HTTP logs

2000-07-02 Thread Brian Takashi Hooper
Hi there - I want to customize the format of Zope's HTTP logs for a certain project, so, reading the code I can see that the log() method of medusa's http_request is used for this. In order to customize the log format, I can of course just edit http_server.py to change the http_request's log() m

Re: [Zope-dev] ZPatterns alpha 3 released (was re: ZPatterns0.4.0a2 bug fixes)

2000-06-20 Thread Brian Takashi Hooper
On Tue, 20 Jun 2000 09:46:34 -0500 "Phillip J. Eby" <[EMAIL PROTECTED]> wrote: [snip] > >Thank you, Phillip. I've spent all the evening hunting these bugs. > >By the way, how do you debug? Is there better way than inserting things > >like > > > > print "objectChanging %s, has status=%d" % (

[Zope-dev] Re: [Zope] highly available Zope thread; our hanging problem

2000-06-06 Thread Brian Takashi Hooper
list. You might also wish to add to the Wiki: > http://www.zope.org/Members/tseaver/Projects/HighlyAvailableZope/. OK, that's a good suggestion! > > > -Original Message- > > From: Brian Takashi Hooper [mailto:[EMAIL PROTECTED]] > > Sent: 06 June 2000 12:11 &g