if isinstance(outfile, HttpResponse):
filename = self.feed.get('filename', 'filename.ics')
outfile['Filename'] = filename
- response['Content-Disposition'] = 'attachment; filename=%s' % filename
\ No newline at end of file
+ outfile['Content-Disposition'] = 'attachment; filename=%s' % filename
\ No newline at end of file