I know how to handle HTTP GET and POST requests using pyramid, I want to know how I can handle a DELETE request. I found this answer, describing how to handle a delete request on the client-side, using ajax.
Do you handle a DELETE the same as you would handle a POST or GET request, on the server side?
I found this in the pyramid docs. Though this example uses a DELETE request, I am still not sure if it should be treated in the same way as a POST.
If a DELETE request is handled differently, can you please provide an example of how to handle the request?
I couldn't find anything on SO that gives me the answers that I need...