<rde-dm:attribute mode="write" attribute="request:rde-rd:content-type"
value="text/csv" tag="notag"/>
but it had no effect; indeed "request:rde-rd:content-type" doesn't
have any value normally.
Thanks,
Jonathan
<xsl:output method="text" media-type="text/csv" ... />
However when viewing the page in Firefox, the MIME type is still text/
html, so that doesn't appear to be working.
We're using the default WebLet, xchg.
Any more ideas?
Jonathan
You should be using the "rdeResponseMimetype" pre-defined "request"
attribute. I've confirmed in my DS 10.0 env. that the following
accomplishes what you want:
<rde-dm:attribute mode="write" attribute="request:rdeResponseMimetype"
value="text/csv" tag="notag" />
Using Firefox's developer toolbar, I see the following response
headers - notice that "Content-Type" is "text/csv":
Server: Apache-Coyote/1.1
Date: Thu, 28 Jan 2010 17:42:48 GMT
Expires: Thu, 28 Jan 2010 17:42:48 GMT
lsrequestid: 493
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/csv;charset=ISO-8859-1
Transfer-Encoding: chunked
200 OK
Enjoy!
-C
J