What's happening is that my script is playing gateway; the user interacts with a page, the request comes to my script, I modify it and send it to the remote CGI which responds, I modify the response and print it into the page the user sees next.
Except. Sometimes the response from the remote CGI cannot be modifies because it isn't sending me HTML, it's sending me text, or an image, as a bit stream,. So I have to work around the "normal" way things happen, force the Content-type header etc. I finally got plain text to work but I still can't get JPEGs to work - the bit stream I get back is what I expect it to be... I am setting the Content-Type header (easier said than done). I am sending a few other Content- headers (MUCH easier said than done). I'm wondering if there is somehow still something wrong/missing about my header. I guess not... sigh. -- - Vicki Vicki Brown ZZZ Journeyman Sourceror: P.O. Box 1269 zz |\ _,,,---,,_ Scripts & Philtres San Bruno, CA zz /,`.-'`' -. ;-;;,_ Perl, Unix, MacOS 94066 USA |,4- ) )-,_. ,\ ( `'-' mailto:[EMAIL PROTECTED] '---''(_/--' `-'\_) http://www.cfcl.com/~vlb
