r/programming • u/stronghup • Jul 14 '26
HTTP gets a QUERY method so complex searches can stop pretending to be POST
https://www.theregister.com/devops/2026/07/13/http-gets-a-query-method-so-complex-searches-can-stop-pretending-to-be-post/5270192
1.9k
Upvotes
View all comments
Show parent comment
0
u/edgmnt_net Jul 14 '26
That's not reasonable at all. What do you propose proxies or web servers do when they receive FOO methods (replace with PROPFIND or QUERY for actual stuff)? Should they also discard those just because they don't know about them and break all potential applications using custom / yet unknown methods? I see no viable interpretation under which FOO is more "defined" than GET with a body. And the only place where it makes sense to discard stuff is if you consider the entire system end-to-end, e.g. it's perfectly fine if a final endpoint does not know what FOO means and discards it, but this is not the case for general proxies or general web servers. Or, ok, specific proxies could implement GET & POST-based policies and discard everything else, but that needs to be tweakable or it's on you to deal with it.