56
56
@expose(content_type="application/octet-stream")
57
57
def get(self, record=False):
60
'datas', 'url', 'name'], rpc.session.context)
61
62
if attachment['type'] == 'binary':
62
63
cherrypy.response.headers["Content-Disposition"] = 'attachment; filename="%s"' % attachment['name']