Defining a new HTTP method: HTTP Search (2021)
httptoolkit.com
Defining a new HTTP method: HTTP Search (2021)
1–10 of 131 posts
Re: Defining a new HTTP method: HTTP Search (2021)
#2https://www.ietf.org/archive/id/draft-ietf-httpbis-safe-meth...
Re: Defining a new HTTP method: HTTP Search (2021)
#3Re: Defining a new HTTP method: HTTP Search (2021)
#4This seems reasonable, but unlikely to happen. GET is already pretty much sufficient, especially given that clients generally support megabytes worth of query strings in these modern times. If we're doing this though, I'll cast my vote for naming it more semantically as QUERY, and forgoing whatever little WebDAV compatibility would be had otherwise.
Re: Defining a new HTTP method: HTTP Search (2021)
#5Re: Defining a new HTTP method: HTTP Search (2021)
#6Or just use GET since it already works. I don't see any problems with large query params. You can also split the search into a POST request and a GET request for the result.
Most servers will reject URLs after a certain size, 4-8KB.
Re: Defining a new HTTP method: HTTP Search (2021)
#7Re: Defining a new HTTP method: HTTP Search (2021)
#8Or just use GET since it already works. I don't see any problems with large query params. You can also split the search into a POST request and a GET request for the result.
> I don't see any problems with large query params. Most servers will reject URLs after a certain size, 4-8KB.
Re: Defining a new HTTP method: HTTP Search (2021)
#9Or just use GET since it already works. I don't see any problems with large query params. You can also split the search into a POST request and a GET request for the result.
Re: Defining a new HTTP method: HTTP Search (2021)
#10I personally like this addition, because it no longer requires all queries be shoehorned into query strings. You can use any syntax you like, be it SQL or GraphQL etc.