Work started: (MODPYTHON-128) Have assigning req.filename
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Work started: (MODPYTHON-128) Have assigning req.filename




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Work started: (MODPYTHON-128) Have assigning req.filename  
Graham Dumpleton (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-19-06 04:38 PM

[ http://issues.apache.org/jira/brows...ON-128?page=all ]

Work on MODPYTHON-128 started by Graham Dumpleton

> 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
[vbcol=seagreen]
>
> 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 woul
d 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 conf
irm 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.[/
vbcol]






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:23 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register