reactor / reactor-netty

TCP/HTTP/UDP/QUIC client/server with Reactor over Netty
https://projectreactor.io
Apache License 2.0
2.61k stars 647 forks source link

Ensure body is sent when `DELETE` and `Transfer-Encoding` #3481

Closed violetagg closed 1 month ago

violetagg commented 1 month ago

According to the spec https://www.rfc-editor.org/rfc/rfc9110.html#name-delete

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.

When a user sends DELETE with content this means there is an indication that the server supports this type of requests.