I personally like the idea of adding a flag specifically for this new -L behavior.
Or alternatively change the default -L behavior. I think that this might become a new default, that any response might be used to return a specific / custom METHOD to use in redirected / subsequent requests, unrelated to the query method. Like that a Get could redirect to a query method call, or as specified here in the proposal, that query redirects can respond with a get method redirect. Or that a server might even be to implement custom methods, which the query redirects to. Since it's so specific to redirects, I'd probably change how -L works instead of -X. Bastian On Sun, 2 Mar 2025, 11:18 Daniel Stenberg via curl-users, < curl-users@lists.haxx.se> wrote: > On Tue, 25 Feb 2025, Daniel Stenberg wrote: > > > This new functionality that opens up the opportunity to make curl do > QUERY > > better by using this new flag. But how? > > My plan is now to merge the libcurl part necessary for this functionality > in > this feature window, then write up a proposal for the curl tool to ideally > get > merged in the *next* pending release window. > > I have not yet figured out exactly which of the approaches I prefer... > > -- > > / daniel.haxx.se || https://rock-solid.curl.dev > -- > Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users > Etiquette: https://curl.se/mail/etiquette.html >
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users Etiquette: https://curl.se/mail/etiquette.html