You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It solves the problem of making complex queries where the GET method is sometimes sufficient as it (according to the standard) lacks support for sending the query in the body, leaving only the query part of the URL which is limited. An often used workaround of using the POST method has a downside in that it's just the wrong method for this purpose as queries do not cause side-effects and this limits the retryabilty and cacheability of such queries.
Therefore It would be great to implement support for QUERY in Net::HTTP.
Note that for example node.js has implemented and released support for it in June 2024: nodejs/node#51562
If you are open to it, I am interested in providing a PR.
The text was updated successfully, but these errors were encountered:
gdubicki
changed the title
Please add support for the QUERY HTTP method
Please add support for the QUERY HTTP method
Jan 11, 2025
On 2025-01-07 the
QUERY
HTTP method, "a safe, idempotent request method that can carry request content." has reachedthe level of a Proposed Standardconsensus and is on track to become a Proposed Standard.It solves the problem of making complex queries where the GET method is sometimes sufficient as it (according to the standard) lacks support for sending the query in the body, leaving only the query part of the URL which is limited. An often used workaround of using the POST method has a downside in that it's just the wrong method for this purpose as queries do not cause side-effects and this limits the retryabilty and cacheability of such queries.
Therefore It would be great to implement support for QUERY in Net::HTTP.
Note that for example node.js has implemented and released support for it in June 2024: nodejs/node#51562
If you are open to it, I am interested in providing a PR.
The text was updated successfully, but these errors were encountered: