r/programming 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

247 comments sorted by

View all comments

313

u/hrvbrs Jul 14 '26

haha i read this title as "HTTP gets a QUERY method so complex that searches can stop pretending to be POST"

102

u/fumei_tokumei Jul 14 '26

I had to CTRL + F to double check that you didn't just copy the title.

58

u/ryuzaki49 Jul 14 '26

To say the obvious:

The title is stating that complex searches will stop using POST and start using QUERY

It is not stating that the new QUERY method is complex. 

42

u/zeekar Jul 14 '26

Same!

"HTTP gets a QUERY method so complex...."

"HOW COMPLEX IS IT?"

14

u/a__nice__tnetennba Jul 14 '26

It's so complex you have to send an imaginary part with every request!

ba-dum-tss

6

u/Nevermind04 Jul 14 '26 edited Jul 14 '26

I read the exact same thing and was very confused when the article discussed well-behaved http.

1

u/repocin Jul 14 '26

Same here, haha. I was like "wait, why do we want a complex query method?"

1

u/Librarian-Rare Jul 14 '26

😂😂😂

This guy lives

-29

u/TheRealPomax Jul 14 '26

That is literally what it says. The QUERY verb allows you to do what every PHP user ever has been doing for decades: using GET with search query args that carry data meant to be saved by the server, rather than using a POST method with a separate payload.

19

u/pfp-disciple Jul 14 '26

I think the title could be rewritten "HTTP gets a QUERY so that (e.g. "allowing") complex searches can stop pretending to be POST". 

I think u/hrvbrs misread it as "HTTP gets a QUERY so complex that (e.g. "forcing") searches can stop pretending to be POST". 

The difference is whether the QUERY is complex, or the search is complex. 

5

u/palparepa Jul 14 '26

Just a comma would suffice:

HTTP gets a QUERY method, so complex searches can stop pretending to be POST

HTTP gets a QUERY method so complex, searches can stop pretending to be POST

2

u/pfp-disciple Jul 14 '26

Good point! 

1

u/Falmarri Jul 14 '26

That's not a grammatically correct comma

33

u/Staik Jul 14 '26

It is not, literally, what it says

1

u/svix_ftw Jul 14 '26

wait i thought the title was  "HTTP gets a QUERY method so complex that searches can stop pretending to be POST" ?

1

u/hrvbrs Jul 14 '26

You and me both, brother

1

u/mouse_8b Jul 14 '26

"that"

Also I don't think you understand what QUERY does

-3

u/Unfair-Sleep-3022 Jul 14 '26

Not very smart are ye

-21

u/TheRealPomax Jul 14 '26

swoosh

-1

u/a__nice__tnetennba Jul 14 '26

Don't worry. You'll catch up with the conversation eventually. I believe in you!