Re: [Zope-dev] Last-modified and bobobase_modification_time

2002-06-20 Thread Adrian Hungate
Ah, well, that is not quite true. Zope (And apache, IIS, and others) may do the "right thing" and set or not set the headers, but IE at least definately DOES NOT do the correct thing when it comes to caching on the client (Even with caching disabled it still caches when it feels like it). Until c

Re: [Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Chris McDonough
I would probably work around this by creating a Product that gets a hold of the app object in its __init__ and creates all the necessary stuff. Actually, it would be kinda nice if instead of creating only the session_data object in the temp_folder initialization code we imported some (replaceable

Re: [Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Jeffrey P Shell
On 6/20/02 4:01 PM, "Chris McDonough" <[EMAIL PROTECTED]> wrote: >> So, why is the default Transient Object Container put in a > Temporary Folder? >> If I want to use an application specific one that doesn't get lost > on >> restart, is it OK to put it into a normal persistent folder? > > Yup. >

Re: [Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Chris McDonough
> So, why is the default Transient Object Container put in a Temporary Folder? > If I want to use an application specific one that doesn't get lost on > restart, is it OK to put it into a normal persistent folder? Yup. The TOC is put into the temp folder mostly because: 1) Sessions are write-in

Re: [Zope-dev] let's just get rid of it (was: Last-modified andbobobase_modification_time)

2002-06-20 Thread Andreas Jung
The sending of an empty ETag header is a workaround to get Zope working with M$ Office through Webdav. But this header should be only be send on the WebDAV port. Andreas --On Thursday, June 20, 2002 21:16 +0200 Dieter Maurer <[EMAIL PROTECTED]> wrote: > Leonardo Rochael Almeida writes: > > I

Re: [Zope-dev] let's just get rid of it (was: Last-modified andbobobase_modification_time)

2002-06-20 Thread Dieter Maurer
Leonardo Rochael Almeida writes: > IMHO, Last-modified does not make sense for dynamically calculated > pages, as most zope pages are. We should just not provide this header, > or provide with the value of the current time. Most Zope objects do not send "Last-Modified" headers, unless you use a

[Zope-dev] Temp Folders and Transient Object Containers

2002-06-20 Thread Jeffrey P Shell
Under the category of "feigning smartness by blindly copying what I see", In a subfolder of the Zope root, I set up a browser_id_manager, a session_data_manager, a temp folder (cleverly named 'temp_folder'), and put a Transient Object Container inside that temp folder, named 'tix_sessions'. Of cou

Re: [Zope-dev] problems with accented characters - need advice

2002-06-20 Thread Florent Guillaume
Florent Guillaume <[EMAIL PROTECTED]> wrote: > Toby Dickenson <[EMAIL PROTECTED]> wrote: > > On Tuesday 18 Jun 2002 8:44 pm, Dieter Maurer wrote: > > > > > The reason why it is still there is that a change should work for > > > all languages and not only western ones. This poses the question >

Re: [Zope-dev] Bug Day for June?

2002-06-20 Thread Florent Guillaume
Brian Lloyd <[EMAIL PROTECTED]> wrote: > > > > Are we having a Bug Day on Friday? > > > > > > I'd prefer if we could have Bug Days on Thursdays instead of Fridays. > > > Friday means I have to stay late at work when the weekend has already > > > started and everybody else is at the pub/café/partie

Re: [Zope-dev] Questions about BasicUserFolder.authorize

2002-06-20 Thread Florent Guillaume
Chris Withers <[EMAIL PROTECTED]> wrote: > AccessControl.User.BasicUserFolder defines: > > def authorize(self, user, accessed, container, name, value, roles): > > what is 'roles' in this context? > > I'm working on a new release of SUF. I'd like to provide a scriptable method > which can > dec