Re:Defining a new HTTP method: HTTP Search (2021)
by forgotmypw17 on Saturday May 27, 2023 @03:15PM
(#36097366)
The limit of a GET request's length is at least several K on most systems I've used, so it's rarely an issue.
[ Parent
| on HN ]
Re:Defining a new HTTP method: HTTP Search (2021)
by paulddraper on Saturday May 27, 2023 @03:40PM
(#36097553)
That's not as much as you might think.
There's a reason elasticsearch accepts POST
Re:Defining a new HTTP method: HTTP Search (2021)
by forgotmypw17 on Saturday May 27, 2023 @04:08PM
(#36097781)
But what exactly is the difference between POST and SEARCH? Both include the request parameters in the body, so they would be obscured from the user. Unless they aren't, in which case it is a matter of the choices made in the implementation.
Is it implied idempotency and the lack of a confirmation dialog when the user reloads the page?
Re:Defining a new HTTP method: HTTP Search (2021)
by jimktrains2 on Saturday May 27, 2023 @08:44PM
(#36099993)
Cachability, perhaps. You cannot cache a post, but may be able to cache a search or query verb.