~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:15:42 UTC
  • mfrom: (1796.1.3 get-named-operations)
  • Revision ID: grantw@unimelb.edu.au-20100703111542-pc9odlk2bv4tj3rr
Named operations must now be declared as read_operation or write_operation. Read operations may be executed with a GET.

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))