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

« back to all changes in this revision

Viewing changes to src/dispatch/request.py

  • Committer: mattgiuca
  • Date: 2007-12-12 02:50:51 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:39
dispatch/request, init: Added additional comments to map out planned
attributes and actions (the entire dispatch sequence).

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    Request object attributes:
31
31
        uri (read)
32
32
            String. The path portion of the URI.
 
33
        app (read)
 
34
            String. Name of the application specified in the URL, or None.
 
35
        path (read)
 
36
            String. The path specified in the URL *not including* the
 
37
            application or the IVLE location prefix. eg. a URL of
 
38
            "/ivle/files/joe/myfiles" has a path of "joe/myfiles".
33
39
 
34
40
        status (write)
35
41
            Int. Response status number. Use one of the status codes defined
129
135
 
130
136
        # Inherit values for the input members
131
137
        self.uri = req.uri
 
138
        # TODO: Detect app and path
132
139
 
133
140
        # Default values for the output members
134
141
        self.status = Request.OK