I cannot seem to replace the Content-Type header, is there any trick to this?
I am writing
self.response().setHeader('Content-Type:','application/octet-stream')
self.response().setHeader('Content-Disposition:','attachment;filename=Report.xls')
in writeHTML or writeRespond, but the headers still say
Content-Type=text/HTML
Content-Disposition is written as well.
Where is Content Type set?
As far as I can tell on Line 21 of HTTPResponse it will only get added if headers==None
Any pointers would be great.
Thanks,
-Aaron
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss