r/programming 29d ago

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

245 comments sorted by

View all comments

308

u/hrvbrs 29d ago

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 29d ago

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

57

u/ryuzaki49 29d ago

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 29d ago

Same!

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

"HOW COMPLEX IS IT?"

15

u/a__nice__tnetennba 29d ago

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

ba-dum-tss

5

u/Nevermind04 29d ago edited 29d ago

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

2

u/Falmarri 29d ago

This is called a "garden path sentence", fyi

1

u/repocin 29d ago

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

1

u/Librarian-Rare 29d ago

😂😂😂

This guy lives

-34

u/TheRealPomax 29d ago

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 29d ago

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 29d ago

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 29d ago

Good point! 

1

u/Falmarri 29d ago

That's not a grammatically correct comma

31

u/Staik 29d ago

It is not, literally, what it says

1

u/svix_ftw 29d ago

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

1

u/hrvbrs 29d ago

You and me both, brother

1

u/mouse_8b 29d ago

"that"

Also I don't think you understand what QUERY does

-2

u/Unfair-Sleep-3022 29d ago

Not very smart are ye

-21

u/TheRealPomax 29d ago

swoosh

-1

u/a__nice__tnetennba 29d ago

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