Методами HTTP по умолчанию в библиотеке urllib являются POST и GET:
def get_method(self):
"""Return a string indicating the HTTP request method."""
default_method = "POST" if self.data is not None else "GET"
return getattr(self, 'method', default_method)
Но мы можем переопределить эту функцию get_method (), чтобы получить запрос DELETE:
req = urllib.request.Request(new_url)
req.get_method = lambda: "DELETE"