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

« back to all changes in this revision

Viewing changes to www/dispatch/request.py

  • Committer: mattgiuca
  • Date: 2008-01-10 03:02:34 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:155
login: Fix exception when user or pass is not supplied in a POST request.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
        title (write)
62
62
            String. HTML page title. Used if write_html_head_foot is True, in
63
63
            the HTML title element text.
64
 
        styles (write)
65
 
            List of strings. Write a list of URLs to CSS files here, and they
66
 
            will be incorporated as <link rel="stylesheet" type="text/css">
67
 
            elements in the head, if write_html_head_foot is True.
68
 
            URLs should be relative to the IVLE root; they will be fixed up
69
 
            to be site-relative.
70
 
        scripts (write)
71
 
            List of strings. Write a list of URLs to JS files here, and they
72
 
            will be incorporated as <script type="text/javascript"> elements
73
 
            in the head, if write_html_head_foot is True.
74
 
            URLs should be relative to the IVLE root; they will be fixed up
75
 
            to be site-relative.
76
64
        write_html_head_foot (write)
77
65
            Boolean. If True, dispatch assumes that this is an XHTML page, and
78
66
            will immediately write a full HTML head, open the body element,
174
162
        self.content_type = None        # Use Apache's default
175
163
        self.location = None
176
164
        self.title = None     # Will be set by dispatch before passing to app
177
 
        self.styles = []
178
 
        self.scripts = []
179
165
        self.write_html_head_foot = False
180
166
 
181
167
    def __writeheaders(self):