demo_requests_delete_stream.py:
import requests url = 'https://w3schools.com/images/pulpit.jpg' #allow the response to be streamed by setting the 'stream' parameter to True: x = requests.delete(url, stream=True) print(x.status_code)
C:\Users\My Name>python demo_requests_delete_stream.py
200