Re:Defining a new HTTP method: HTTP Search (2021)
by le-mark on Saturday May 27, 2023 @11:47AM
(#36095677)
This is correct, and one only needs to consider the impact of large or unlimited length urls on server memory consumption per request to see that a relatively small limit is desirable and even necessary.
Re:Defining a new HTTP method: HTTP Search (2021)
by AtNightWeCode on Saturday May 27, 2023 @02:42PM
(#36097134)
Depends. But moving the payload between the body and the query will not solve anything performance wise if you design for it.
Re:Defining a new HTTP method: HTTP Search (2021)
by AtNightWeCode on Saturday May 27, 2023 @12:29PM
(#36095994)
A query of that size will likely not benefit from a GET anyway so use a POST.
Re:Defining a new HTTP method: HTTP Search (2021)
by imnotjames on Saturday May 27, 2023 @01:04PM
(#36096301)
Sure except POST has its own set of issues - like not being cachable. But SEARCH or QUERY can be cached safely!
Most servers will reject URLs after a certain size, 4-8KB.