You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The callback-implementation of adapter-xhr seems to have several issues:
payload.headers is not set on the request (missing something like for(let key in payload.headers){xhr.setRequestHeader(key, payload.headers[key])}).
Instead payload.headers is set on the result-object (res) (where probably e.currentTarget.getAllResponseHeaders() is meant to be set).
setResult is not provided by the invoking apicase.js, so it always fails with "Uncaught TypeError: setResult is not a function at XMLHttpRequest.xhr.onprogress".
The text was updated successfully, but these errors were encountered:
The callback-implementation of adapter-xhr seems to have several issues:
payload.headers
is not set on the request (missing something likefor(let key in payload.headers){xhr.setRequestHeader(key, payload.headers[key])}
).payload.headers
is set on the result-object (res
) (where probablye.currentTarget.getAllResponseHeaders()
is meant to be set).setResult
is not provided by the invokingapicase.js
, so it always fails with "Uncaught TypeError: setResult is not a function at XMLHttpRequest.xhr.onprogress".The text was updated successfully, but these errors were encountered: