News for hackers. Stuff that matters.
Re:Defining a new HTTP method: HTTP Search (2021) by BugsJustFindMe on Saturday May 27, 2023 @05:13PM (#36098380)
> GET requests ... can't have a request body. It's not specifically banned, but it is defined as being completely meaningless

This is widely believed but false. And repeating it leads me to believe that the author is not careful enough to propose new standards. They are just not defined to be meaningful, which is very much not the same thing.

In fact the standard says that sending a message body with a GET request just might not work because servers are not required to support it, but if you are talking to a service directly that you know supports it then it's perfectly fine and within the standard. It specifically says "SHOULD NOT", not "MAY NOT".

Re:Defining a new HTTP method: HTTP Search (2021) by poisonborz on Sunday May 28, 2023 @01:33AM (#36101444)
As other commenters pointed out, support is spotty and it's generally a greyzone. A new verb (I'd also support "QUERY") would clarify things.
Re:Defining a new HTTP method: HTTP Search (2021) by akvadrako on Sunday May 28, 2023 @02:31AM (#36101692)
But it doesn't actually work in many browsers.