Speaking of httpHeader

Has anyone had any success with RTF files?

Ben Johansen - http://www.pcforge.com
Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm 
Latest downloads & List Archives @ http://www.witango.ws


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Scott Cadillac
Sent: Wednesday, September 04, 2002 11:55 AM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: Spoofing MIME headers -sorta

Hi James,

In your Results Action (Output_Image), you should try:

<@ASSIGN local$encodeResults VALUE="false"><@ASSIGN local$httpHeader
'HTTP/1.0 200 OK<@CHAR CODE=13><@CHAR CODE=10>Content-Type:
image/gif<@CHAR
CODE=13><@CHAR CODE=10>Content-length: <@LENGTH <@VAR
local$image>><@CHAR
CODE=13><@CHAR CODE=10>'><@PURGERESULTS><@VAR local$image encoding=none>


You don't need the <@VAR local$httpHeader encoding=none>. Once you make
the
<@ASSIGN ...> for local$httpHeader, this information is passed to the
Web-server automatically and sent as your HTTP Header. Your output must
have been including the HTTP Header information twice (once properly and
once as text before your GIF content).

Hope this helps. Cheers....

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

http://witango.org
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
403-281-6090
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa
at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "James MacFarlane" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk"
<[EMAIL PROTECTED]>
Sent: Wednesday, September 04, 2002 12:33 PM
Subject: RE: Witango-Talk: Spoofing MIME headers -sorta


> Removing the whitespace seemed to improve things a bit (at least
> ImageDetect.taf outputs a broken image).
>
> I've attached the file if anyone wouldn't mind taking a look at it.
>
> I'm calling it using the following: <img
src="Imagedetect.taf?X=10&Y=15">
>
> - James.
>
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jesse Parker
> Sent: Wednesday, September 04, 2002 1:14 PM
> To: Multiple recipients of list witango-talk
> Subject: RE: Witango-Talk: Spoofing MIME headers -sorta
>
> Even though you have assigned encodeResults false, you should still
> display the image with ENCODING=NONE, as in:
>
> <@VAR local$GIF ENCODING=NONE>
>
> Also, be sure your TAF doesn't output anything before the GIF.  Don't
> forget that Tango meta tags leave whitespace untouched.
>
> On Wed, 4 Sep 2002, James MacFarlane wrote:
>
>
>

________________________________________________________________________
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

Reply via email to