Whoops. The method is called getResponseHeader() Try: this.xhr.getResponseHeader("Content-type”)
Harbs > On Sep 20, 2017, at 11:49 AM, doug777 <doug777...@gmail.com> wrote: > > Guess I should have typed this but still weird result > > this.xhr.getResponseType("Content-type") > > VM647:1 Uncaught TypeError: this.xhr.getResponseType is not a function > at eval (eval at > org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange > (AMFNetConnection.js:137), <anonymous>:1:10) > at org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange > (AMFNetConnection.js:137) > (anonymous) @ VM647:1 > org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange @ > AMFNetConnection.js:137 > XMLHttpRequest.send (async) > 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/