W3C home > Mailing lists > Public > www-lib@w3.org > July to September 2000

Urgent: Help on output binaries needed

From: Michael Ganz <MGanz@IHS.de>
Date: Wed, 27 Sep 2000 11:46:55 +0200
Message-ID: <909D1C16B580D411A3480050DA3DFA58031D09@PCMAIL>
To: "W3c-Lib Mailing List (E-Mail)" <www-lib@w3.org>
Hello to all,

I have following problem :
I load a gif into memory and print it to stdout.
If I have a request by a browser only IE can show it, but Netscape Navigator
can't show it.

I tried to edit the header to "cout << "Content-type: image/gif" << endl <<
endl;
			    cout << "Content-length: 1315" << endl << endl;"
but this doesn't function, because the all browser interpreted this as body
and not as header.
How can I fix this problem or is there a work around to print out or
transmitting binaries, gifs or jpegs to browsers?

regards

> Michael Ganz
> Staatl.gepr.DV-Techniker
> Anwendungsentwicklung
> IHS Technologies GmbH
> Barthstr. 24
> D-80339 München / Germany 
> Tel.:  +49 (0)89 54 09 24-62
> Fax.: +49 (0)89 54 09 24-10
> E-Mail: mganz@ihs.de
http://www.ihs.de
Received on Wednesday, 27 September 2000 05:47:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:38 GMT