Can I add to this... Browsers can prefer the file extension in the request URL over the Content-type http header when deciding how to handle content. IE is the worst offender, and versions behave differently. You may need to make copies of your taf file, give them .gif and .jpeg extensions, and set the application mappings accordingly. Together with the steps below, it should all work fine.
-----Original Message----- From: Jon Grieve [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 15:09 To: Multiple recipients of list witango-talk Subject: RE: Witango-Talk: Spoofing MIME headers James, Here's some code... <@ASSIGN local$GIF {whatever}> <@ASSIGN local$encodeResults VALUE="false"> <@ASSIGN local$httpHeader 'HTTP/1.0 200 OK<@CRLF> Content-Type: image/gif<@CRLF> Content-length: <@LENGTH <@VAR local$GIF>><@CRLF> <@SETCOOKIES><@USERREFERENCECOOKIE><@CRLF>'> <@VAR local$GIF> I've broken it into separate lines to make it more readable. Normally, I'd have the entire thing in a single action on a single line. Regards, Jon -----Original Message----- From: James MacFarlane [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 2:46 To: Multiple recipients of list witango-talk Subject: Witango-Talk: Spoofing MIME headers I have an application where the source of an image points to a .taf file. I want to log the fact that the image has been viewed and then send out the MIME header and the contents of the image. I've done this with asp using <% Response.ContentType = "image/gif" %> but I don't know what the Tango equivalent is. - James. ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body ________________________________________________________________________ TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED] with unsubscribe witango-talk in the message body
