This now deletes the header information regardless of the response being successful or failing, is that something we want to do? (Previously we only removed the header if the request was successful).