I am doing a HTTP DELETE with Python requests module, but I am facing a problem in my application because of the "Content-Length: 0". Is there a way to deal with this? Is possible to remove the "Content-Length: 0"? What do you suggest?
The problem is that the server application does not accept "Content-Length", neither payload. This way, my request should not have this information.
The request I am doing:
headers = {'X-Auth-Token': token}
r = requests.delete(DELETE_URL, headers=headers)
Well you can remove the header manually like in here
example: