| ▲ | Rapzid 3 hours ago | |||||||||||||
Body is already optional with GET. Proxies aren't supposed to touch it or assign meaning to it; it's between the client and the end server. A whole new method whose semantics don't really fit with the others is.. An odd way forward. | ||||||||||||||
| ▲ | CommonGuy 3 hours ago | parent | next [-] | |||||||||||||
Proxies are allowed to drop bodies of HTTP GET requests. RFC 9110 states: > [..] content received in a GET request has no generally defined semantics, cannot alter the meaning or target of the request [..] > A client SHOULD NOT generate content in a GET request [..] | ||||||||||||||
| ||||||||||||||
| ▲ | juliangmp 3 hours ago | parent | prev | next [-] | |||||||||||||
Yeah I always disliked that there's this idea that you can't put a body on a GET request. Iirc openapi generators goes out of its way to not support that which has lead to me writing a small rant into an API specification before to explain why the get_xyz uses POST... | ||||||||||||||
| ▲ | thewisenerd 3 hours ago | parent | prev [-] | |||||||||||||
semantics become extremely relevant when "proxies" start caching. | ||||||||||||||