Hi
I've run into a problem trying to use the http invoker with remoting 2.0.0 GA. It
seems that after invoke() returns, the value for the response header
"Content-Type" is always being replaced with "text/html". I have been
attempting to set it as follows:
| public Object invoke(InvocationRequest req)
| {
| Map response = req.getReturnPayload();
| response.put("Content-Type","text/css");
| return someCSSasAString;
| }
|
I've checked setting other headers and that works fine, its just Content-Type that
gets replaced. Is there some other way that I can set this?
Thanks!
Jonathan Halcrow
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993178#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...