Changed this.status to http.status. This works for me because this is an XMLHttpRequestEventTarget object, which does not contain a status property. I believe you meant to reference http, which is an XMLHttpRequest object that does have a status property.
Changed
this.status
tohttp.status
. This works for me becausethis
is anXMLHttpRequestEventTarget
object, which does not contain astatus
property. I believe you meant to referencehttp
, which is anXMLHttpRequest
object that does have astatus
property.