Hi altosax,
Here is what i found:
txt $SET(0=text/plain$FILTER(true)) won't do it,
since it fetches only the first, but not the $FILTER part.
However, something else does work:
$SET(0=text/plain; dummyvar) or
$SET(0=text/html; dummyvar)
The mime type is still correctly identified,
and you can test for the extra string later with:
$IHDR(Content-Type:*; dummyvar)
I found this trick once at Y!G.
It's probably more difficult than $FILTER,
and i didn't go deeper into it, but better than nothing.
edit: and the text/plain$FILTER(true) idea was from a filter in JD's config.
regards, sidki
Edited by - sidki3003 on 08 Jun 2002 22:34:53