arturobernalg commented on PR #499:
URL: 
https://github.com/apache/httpcomponents-core/pull/499#issuecomment-2424184854

   > I do not understand the argument about inconsistencies of GET with bodies, 
this is a different method, services would either support it or not. I think 
that's the main point of this new method, to have a clean way to handle 
GET-like requests with body, without having to guess if any part of the 
infrastructure assumes GET don't have bodies (like a proxy stripping them) and 
having surprising results and failures.
   
   Your point is understood, but the problem remains fundamentally the same.
   
   The fact that QUERY is technically a different method doesn't eliminate the 
inconsistencies; it just shifts them. Introducing QUERY as a workaround for the 
issues with GET bodies assumes the entire HTTP ecosystem will uniformly 
recognize and support it. In reality, infrastructure like proxies, caching 
layers, and older servers are unlikely to know what to do with QUERY requests. 
This could lead to dropped requests, unexpected stripping of bodies, or 
flat-out rejections, similar to the problems you're trying to avoid with GET 
and a body. Simply put, anything that doesn’t explicitly recognize QUERY may 
mishandle it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to