/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/controllers/download_ui.py

  • Committer: Matt Nordhoff
  • Date: 2009-10-21 10:51:40 UTC
  • mfrom: (389.2.7 pep8-2009-10)
  • mto: This revision was merged to the branch mainline in revision 406.
  • Revision ID: mnordhoff@mattnordhoff.com-20091021105140-wg0am6fp92i3cg2e
Merge pep8-2009-10, fixing conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
        h = self._history
38
38
 
39
39
        args = []
40
 
        while 1:
 
40
        while True:
41
41
            arg = path_info_pop(environ)
42
42
            if arg is None:
43
43
                break
63
63
            ('Content-Type', mime_type),
64
64
            ('Content-Length', len(content)),
65
65
            ('Content-Disposition',
66
 
             'attachment; filename*=utf-8\'\'%s' % (encoded_filename,)),
 
66
             "attachment; filename*=utf-8''%s" % (encoded_filename,)),
67
67
            ]
68
68
        start_response('200 OK', headers)
69
69
        return [content]