Still no luck. Now it returns this this.xhr.getResponseHeader("Content-type”)
VM833:1 Uncaught SyntaxError: Invalid or unexpected token at org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange (AMFNetConnection.js:136) at org.apache.flex.net.remoting.amf.AMFNetConnection.call (AMFNetConnection.js:108) at org.apache.flex.net.remoting.Operation.send (Operation.js:67) at org.apache.flex.net.RemoteObject.send (RemoteObject.js:84) at Test.init (Test.js:182) at Test.$EH0 (Test.js:210) at Test.goog.events.EventTarget.fireListeners (eventtarget.js:284) at Function.goog.events.EventTarget.dispatchEventInternal_ (eventtarget.js:381) at Test.goog.events.EventTarget.dispatchEvent (eventtarget.js:196) at Test.org.apache.flex.events.EventDispatcher.dispatchEvent (EventDispatcher.js:71) org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange @ AMFNetConnection.js:136 org.apache.flex.net.remoting.amf.AMFNetConnection.call @ AMFNetConnection.js:108 org.apache.flex.net.remoting.Operation.send @ Operation.js:67 org.apache.flex.net.RemoteObject.send @ RemoteObject.js:84 Test.init @ Test.js:182 Test.$EH0 @ Test.js:210 goog.events.EventTarget.fireListeners @ eventtarget.js:284 goog.events.EventTarget.dispatchEventInternal_ @ eventtarget.js:381 goog.events.EventTarget.dispatchEvent @ eventtarget.js:196 org.apache.flex.events.EventDispatcher.dispatchEvent @ EventDispatcher.js:71 org.apache.flex.core.HTMLElementWrapper.dispatchEvent @ HTMLElementWrapper.js:240 org.apache.flex.core.Application.initialize @ Application.js:273 org.apache.flex.core.Application.start @ Application.js:246 (anonymous) @ index.html:241 -- Sent from: http://apache-flex-users.2333346.n4.nabble.com/