Upcoming new HTTP QUERY method
datatracker.ietf.org
Upcoming new HTTP QUERY method
1–10 of 79 posts
Re: Upcoming new HTTP QUERY method
#2This is great. Note it is co-authored by James Snell who I know from Node.js core. He has been a very prolific member working on things like QUIC in Node and web APIs.
I can definitely see why this could benefit his work (at Cloudflare) a lot since it would enable caching of results currently done through POST queries.
Re: Upcoming new HTTP QUERY method
#3Related recent discussion: https://news.ycombinator.com/item?id=29794838
Re: Upcoming new HTTP QUERY method
#4Am I right in thinking that this is basically an alternative to URI query parameters? Presumably to make parsing the query and caching the results easier.
Re: Upcoming new HTTP QUERY method
#5I’ve always used POST to do exactly what this specifies. Good show.
May take a while, before it is supported enough, in many APIs.
Re: Upcoming new HTTP QUERY method
#6Is GET with a request body impractical at this point? It has historically been frowned upon [1] but is it really too late to change that convention?
[1]: https://stackoverflow.com/questions/978061/http-get-with-req...
Re: Upcoming new HTTP QUERY method
#7The spec doesn't say how browsers should represent such request in the browser address bar. The nice thing with GET is that you can copy a search url, bookmark it or share it with someone, and they get back the exact same results. How would that work with a QUERY method?
Re: Upcoming new HTTP QUERY method
#8[deleted]
Re: Upcoming new HTTP QUERY method
#9Is GET with a request body impractical at this point? It has historically been frowned upon [1] but is it really too late to change that convention? [1]: https://stackoverflow.com/questions/978061/http-get-with-req...
Re: Upcoming new HTTP QUERY method
#10Am I right in thinking that this is basically an alternative to URI query parameters? Presumably to make parsing the query and caching the results easier.
The introduction paints it exactly as such by example, along with avoiding some other limitations like parameter size and encoding overhead.