20 Oct
2003
20 Oct
'03
2:54 p.m.
hi, i 've some problems for the edition of PDF Document on IE (5.5 or 6.0 are my differents configurations). IE recognizes the stream only as text format. the problem doesn't exist with netsacpe (i use netscape 7.0) The pdF is generated and sent as a stream the code is : #stResult recover the pdt stream stResultat = context.Editique_GetDocumentPDF(stURL) RESPONSE = REQUEST.RESPONSE RESPONSE.setHeader('Content-Type', 'application/pdf') RESPONSE.setHeader('MIME-Version', '1.0') RESPONSE.setHeader('Content-Transfer-Encoding', 'base64') #exit on the browser : RESPONSE.write(stResultat) zope version : 2.1.2 python version : 2.1 regards, fabien Barsukow