~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/revision_ui.py

  • Committer: Michael Hudson
  • Date: 2008-06-25 06:18:13 UTC
  • mfrom: (174.1.8 streaming)
  • Revision ID: michael.hudson@canonical.com-20080625061813-3cr5iax8sdz0e67s
merge my streaming branch which:
 * most importantly, streams the pages as they render to the client, which 
   reduces memory usage on large pages and feels better for the user
 * makes the stuff in controller/ have a more wsgi-ish interface
 * restores the stripping of excess whitespace from the output

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
    template_path = 'loggerhead.templates.revision'
32
32
 
33
 
    def get_values(self, h, args, kw, response):
 
33
    def get_values(self, h, args, kw, headers):
34
34
 
35
35
        if len(args) > 0:
36
36
            revid = h.fix_revid(args[0])