Prevent HTTP errors from being returned.