[FIX] mail: /mail/download_attachment: content_disposition() does not take request as parameter anymore.

bzr revid: chs@openerp.com-20131015154357-4fnj8b6fy5sbvpa7
This commit is contained in:
Christophe Simonis
2013-10-15 17:43:57 +02:00
parent b2c74f5f42
commit f3ac2643d9
+1 -1
View File
@@ -21,7 +21,7 @@ class MailController(http.Controller):
if filecontent and filename:
return req.make_response(filecontent,
headers=[('Content-Type', 'application/octet-stream'),
('Content-Disposition', content_disposition(filename, req))])
('Content-Disposition', content_disposition(filename))])
return req.not_found()
@http.route('/mail/receive', type='json', auth='none')