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

   > > I have a couple of concerns regarding the addition of the QUERY method:
   > 
   > Sure
   > 
   > > ```
   > > * Lack of Standardization: The QUERY method isn't defined in any 
official HTTP specification (like RFC 7231). Adding a non-standard method could 
lead to compatibility issues and confusion, especially since users might assume 
it's widely recognized. Should we really be adding this as a core method, or is 
there a specific context or internal protocol that necessitates this?
   > > ```
   > 
   > There is a draft in progress for it: 
https://datatracker.ietf.org/doc/draft-ietf-httpbis-safe-method-w-body/
   
   A draft and not a finalized standard
   
   > 
   > > ```
   > > * Content-Enclosing Method: The change marks QUERY as a 
content-enclosing method, similar to POST, PUT, and PATCH. This seems 
unconventional since typical query operations (like GET) don't usually involve 
a request body. What’s the rationale behind allowing QUERY to enclose content
   > > ```
   > 
   > The main purpose of QUERY is to be a GET with body.
   
   Since the behavior around GET with a body is often debated, there's a risk 
of inconsistent handling across different implementations.
   
   


-- 
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