Setting `Content-Type` of response in `xhr.handlerError()`