Content-type changing somewhere
Content-type changing somewhere
- Subject: Content-type changing somewhere
- From: Miguel Arroz <email@hidden>
- Date: Fri, 12 Oct 2007 19:37:59 +0100
Hi!
I'm setting up a component with an element inside, so that I can
download a file.
My problem is in the content type. On the element code, I do:
response.setHeader(contentType, "Content-Type");
I'm absolutely sure that the content-type is being set to the
Excel content type (I NSlogged it just above that line).
When the browser receives it, the Content-type is back to plain
text, and the file is saved as whatever.xls.html on Safari. On
Firefox ir works, but Firebug shows the content type is not what I
set it to be.
As the headers are a dictionary, it's hard to watch for changes on
the debugger. So, my question is, how can I track down who's changing
my content type?
Yours
Miguel Arroz
Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden