~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/request.py

  • Committer: William Grant
  • Date: 2010-07-03 11:03:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: grantw@unimelb.edu.au-20100703110310-tz76n9kb367wua3r
Use req.unparsed_uri instead of req.uri -- req.uri doesn't contain the query string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
            String. The request method (eg. 'GET', 'POST', etc)
66
66
        uri (read)
67
67
            String. The path portion of the URI.
 
68
        unparsed_uri (read)
 
69
            String. The path portion of the URI, unparsed with query string.
68
70
        app (read)
69
71
            String. Name of the application specified in the URL, or None.
70
72
        path (read)
135
137
        # Inherit values for the input members
136
138
        self.method = req.method
137
139
        self.uri = req.uri
 
140
        self.unparsed_uri = req.unparsed_uri
138
141
        # Split the given path into the app (top-level dir) and sub-path
139
142
        # (after first stripping away the root directory)
140
143
        (self.app, self.path) = (ivle.util.split_path(req.uri))