quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Dumpleton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MODPYTHON-128) Have assigning req.filename automatically update req.finfo.
Date Sat, 01 Apr 2006 05:16:39 GMT
    [ http://issues.apache.org/jira/browse/MODPYTHON-128?page=comments#action_12372758 ] 

Graham Dumpleton commented on MODPYTHON-128:

Tried to get some consensus on what to do about this issue on mod_python developers mailing
list. See:


but wasn't necessarily even able to get agreement on the point of whether the ability to update
finfo is even needed.

Have thus stopped working on the issue.

Note that not having this ability means that MODPYTHON-123 can't be implemented as such a
handler wouldn't be able to update finfo corresponding to filename matched to.

> Have assigning req.filename automatically update req.finfo.
> -----------------------------------------------------------
>          Key: MODPYTHON-128
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-128
>      Project: mod_python
>         Type: Improvement
>   Components: core
>     Versions: 3.3
>     Reporter: Graham Dumpleton
>     Assignee: Graham Dumpleton

> Although it is possible to assign a new value to "req.filename", it is not possible to
update "req.finfo" based on the new filename.
> Suggest that if "req.filename" is assigned a new value, that apr_stat() be automatically
called to update "req.finfo". Ie., internally mod_python would do something like:
>   apr_stat(&r->finfo, r->filename, APR_FINFO_MIN, r->pool);
> I believe that mod_perl supports a similar feature, but would need to confirm this.
> Related to "req.filename", the "req.canonical_filename" should also be writable as when
changing "req.filename" the latter should also by rights be updated as well.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message