Commit e50a3c57 by muzaffaryousaf

Adding text param to webob response for 1.7.1. https://github.com/Pylons/webob/issues/304

TNL-6553
parent 0c53f6c8
......@@ -265,7 +265,7 @@ class VideoStudentViewHandlers(object):
return Response(status=404)
else:
response = Response(
transcript_content,
text=transcript_content,
headerlist=[
('Content-Disposition', 'attachment; filename="{}"'.format(transcript_filename.encode('utf8'))),
('Content-Language', self.transcript_language),
......
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