Martin Bartosch wrote:

I basically copied the behaviour from lib/cmds/send_cert*, where
simply the MIME type is printed and the binary data is sent afterwards.
The idea is to generate a tar.gz on-the-fly and send it to the
browser as application/octet-stream or similar.

Unfortunately for some reason this does not work, when I call this
function via the browser, all I get is a browser window filled with
binary garbage with the first line containing the MIME type.

I think you use a 0.9.2.x. If you use this then please look into src/common/lib/functions/initServer. There you must add it to the commands which have a different MIME type from text/html. You can search for sendContentType in this file to find the position.

Greetings Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to