Removes unnecessary test and ensures getResponseHeader returns null if the header...