1 Dec
2005
1 Dec
'05
11:18 a.m.
On 12/1/05, Chris Withers <chris@simplistix.co.uk> wrote:
Peter Bengtsson wrote:
pdffile = getattr(context, 'some.pdf') return pdffile
I think you'd have to set a content-disposition header if you did that...
Surely the File object that this 'some.pdf' is has all of this taken care of in its index_html()
cheers,
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com