check if the HTTP method is DELETE