Implement urlobject to be returned by req.parsed_uri
----------------------------------------------------
Key: MODPYTHON-204
URL: http://issues.apache.org/jira/browse/MODPYTHON-204
Project: mod_python
Issue Type: Improvement
Components: core
Affects Versions: 3.3
Reporter: Graham Dumpleton
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]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira