in reply to How to display the response from a get request to a browser?
You need to return 'Content-type: image/jpeg' in your headers. Some clients will break with your Content-Length: 0 as well.
If you use CGI; it can help make alot of these tasks easier, but content-type is what you need to fix this problem. Text works fine because text/html is the browser's default.
HTH
If you use CGI; it can help make alot of these tasks easier, but content-type is what you need to fix this problem. Text works fine because text/html is the browser's default.
HTH
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How to display the response from a get request to a browser?
by elwarren (Priest) on Oct 27, 2004 at 16:12 UTC | |
by unb (Initiate) on Oct 27, 2004 at 17:16 UTC |
In Section
Seekers of Perl Wisdom