RE: Fwd: [Zope-dev] How to return downloadable content from Pytho n Method
8 Jun
2001
8 Jun
'01
12:10 p.m.
Hi Gregor,
First off, please don't send HTML mail to the list.
Ouch! Sorry! Easy mistake to make.
You will have to set the Content-Type HTTP header to do that: REQUEST.RESPONSE.setHeader('Content-Type', content_type) where content_type is the right MIME type of the file you return, e.g. something like 'application/msword' in your case. Hope that helps.
Yes it works! Thankyou for your help. Much appreciated, Simon B.
9091
Age (days ago)
9091
Last active (days ago)
0 comments
1 participants
participants (1)
-
Blandford, Simon [BSS Audio UK]