I've come to notice that it is not possible to deliver a response body to an arbitrary client in case the HTTP status code is set to 304 in the Response object.
Client's will not receive any content, even the Route returns a String and/or the body field of the Response is set.
The other 3xx codes seem to allow a response body though.
Is there a reason why 304 has a special treatment regarding the response body?
Hi there,
I've come to notice that it is not possible to deliver a response body to an arbitrary client in case the HTTP status code is set to 304 in the Response object. Client's will not receive any content, even the Route returns a String and/or the body field of the Response is set.
The other 3xx codes seem to allow a response body though.
Is there a reason why 304 has a special treatment regarding the response body?
Kind regards -Ferdinand-