News for hackers. Stuff that matters.
Re:Defining a new HTTP method: HTTP Search (2021) by nonethewiser on Saturday May 27, 2023 @01:53PM (#36096706)
Alternative naive solution: Add a body to GET requests.

As I said, this is totally naive. Is there some obvious reason why this is a terrible idea, or not really possible?

Re:Defining a new HTTP method: HTTP Search (2021) by earthling8118 on Saturday May 27, 2023 @02:52PM (#36097205)
There are a lot of client implementations that don't support this. You already can add a body to GETs but you'll likely run into issues somewhere due to this. I believe that JavaScript's fetch doesn't allow for this as one example. That's a big one that is probably important to have but there are many others.
Re:Defining a new HTTP method: HTTP Search (2021) by kevincox on Saturday May 27, 2023 @03:08PM (#36097319)
Because a lot of existing proxies and other middleware will just drop the body. Or even worse not consider it in caching decisions but still proxy it.