~notmyname/swift/saio_reference

« back to all changes in this revision

Viewing changes to swift/account/server.py

  • Committer: Tarmac
  • Author(s): gholt
  • Date: 2011-06-13 21:01:07 UTC
  • mfrom: (306.1.4 utfdash8)
  • Revision ID: tarmac-20110613210107-mnvngsf9cfu2px1x
Fixed account and container listings so they return with charset=utf-8 instead of utf8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
244
244
            account_list = '\n'.join(r[0] for r in account_list) + '\n'
245
245
        ret = Response(body=account_list, request=req, headers=resp_headers)
246
246
        ret.content_type = out_content_type
247
 
        ret.charset = 'utf8'
 
247
        ret.charset = 'utf-8'
248
248
        return ret
249
249
 
250
250
    def REPLICATE(self, req):