你可能也不知道的小事 — HTTP DELETE request 能送 message body 嗎?
這是一個很有趣的問題。 其實 HTTP/1.1 的規格有提到 DELETE request 正常來說「不應該」包含 message body: 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
Posted on Jan 24, 2024 by Amo Chen ‐ 1 min read