demo_requests_delete_cert.py:
import requests url = 'https://begtut.com/python/demopage.htm' #specify a cert to use as a client side certificate by setting the 'cert' parameter: x = requests.delete(url, cert='folder/myclient.cert') print(x.status_code)
➜ begtut>python demo_requests_delete_cert.py
200