Closed
Description
Before, I was able to read the response headers:
task.on('complete', (result: any) => {
let headers = new HttpHeaders();
const iterator = result.response.getHeaders().entrySet().iterator();
while (iterator.hasNext()) {
const header = iterator.next();
headers = headers.append(header.getKey, header.getValue());
}
// ...
});
However, that doesn't work anymore since #134, because the response object is no longer exposes (not on 'completed'
, not on 'responded'
)