Re: Auto updating of req.finfo when req.filename changed.

2006-03-29 Thread Graham Dumpleton
Grisha wrote .. > > On Sun, 26 Mar 2006, Graham Dumpleton wrote: > > > One use for it that I already have is to get around the DirectoryIndex > > problems in mod_python caused by Apache's use of the > > ap_internal_fast_redirect() function to implement that feature. The > > specifics of this pa

Re: Auto updating of req.finfo when req.filename changed.

2006-03-29 Thread Gregory (Grisha) Trubetskoy
On Sun, 26 Mar 2006, Graham Dumpleton wrote: One use for it that I already have is to get around the DirectoryIndex problems in mod_python caused by Apache's use of the ap_internal_fast_redirect() function to implement that feature. The specifics of this particular issue are documented under:

Re: Auto updating of req.finfo when req.filename changed.

2006-03-28 Thread Graham Dumpleton
Sorry, you have missed an important point. I am not suggesting this as some sort of convoluted alternative to using os.stat() in Python for when a Python based handlers wants to stat some alternative file. I am specifically addressing the issue where request_rec->filename is being updated to affec

Re: Auto updating of req.finfo when req.filename changed.

2006-03-28 Thread Gregory (Grisha) Trubetskoy
I'm -1 on updating req.finfo when req.filename is updated. I don't have the time to explain it in detail, but I think it flows from Graham's explanation below. Basically, httpd does a stat() for you, and its result is stored in finfo. Why make it any more complicated and magical? If you al

Re: Auto updating of req.finfo when req.filename changed.

2006-03-26 Thread Jim Gallacher
Hi Graham, +1 auto update req.finfo when req.filename changed. Is there a use case where the user might change filename but not want finfo to change? I can't think of one, so let's save the user some work and make their code more robust to boot. A point I'd like to address is your concern ab

Auto updating of req.finfo when req.filename changed.

2006-03-25 Thread Graham Dumpleton
Now the mailing list is a bit quiet, I would like to see if I can get some explicit feedback on some issues related to the inability to update the req.finfo attribute. Grisha, would be nice if you could respond on this issue and give some guidance else I fear I'll never be able to progress a solu