Improve the error message for DELETE requests.