Commit 78644495 by Stu Young Committed by GitHub

Merge pull request #14548 from edx/mzfr/fix-webOb-tnl6553

Adding text param to webob response for 1.7.1. 
parents 61a12b4b f1655051
...@@ -269,7 +269,8 @@ class VideoStudentViewHandlers(object): ...@@ -269,7 +269,8 @@ class VideoStudentViewHandlers(object):
headerlist=[ headerlist=[
('Content-Disposition', 'attachment; filename="{}"'.format(transcript_filename.encode('utf8'))), ('Content-Disposition', 'attachment; filename="{}"'.format(transcript_filename.encode('utf8'))),
('Content-Language', self.transcript_language), ('Content-Language', self.transcript_language),
] ],
charset='utf8'
) )
response.content_type = transcript_mime_type response.content_type = transcript_mime_type
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment