add responseType to 'after-send' event