luxia-
[Portfolio.git] / skins / photo_download.py
1 req = context.REQUEST
2 resp = req.RESPONSE
3 filename = getattr(context, 'orig_name', context.getId())
4 resp.setHeader('Content-Disposition', 'attachment; filename=%s' % filename)
5
6 return context.index_html(req, resp)