Issue Details (XML | Word | Printable)

Key: MODPYTHON-204
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Graham Dumpleton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Implement urlobject to be returned by req.parsed_uri

Created: 14/Nov/06 10:50 PM   Updated: 19/Nov/06 04:26 AM
Return to search
Component/s: core
Affects Version/s: 3.3.x
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
In mod_python 3.3, a finfoobject was introduced and returned when req.finfo was accessed. This provided backward compatibility so that tuple style access still worked, but prefered means of accessing data now is by attribute lookup.

In a similar way, a urlobject needs to be introduced so that parts of parsed uri information are accessed by attribute lookup rather than tuple style access. For example:

  req.parsed_uri.path

instead of:

  req.parsed_uri[apache.URI_PATH]



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No changes have yet been made on this issue.