[BUG #6680] Also set the response in case of a failed request e.g. status 400. The response might contain information about the reason of the 400 e.g.