Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think this is the relevant bit from RFC 9110:

> A client SHOULD NOT generate content in a DELETE request unless it is made directly to an origin server that has previously indicated, in or out of band, that such a request has a purpose and will be adequately supported.

By way of analogy with POSIX, `cat` (GET) and `rm` (DELETE) both just take a file path, whereas writing or overwriting a file (POST/PUT) also require something (a request body) to write.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: