On 12/1/05, Chris Withers <[EMAIL PROTECTED]> 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 _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )