Re: On QUERY and -X

2025-02-25 Thread Stefan Eissing via curl-users
> Am 25.02.2025 um 15:19 schrieb Daniel Stenberg via curl-users > : > > On Tue, 25 Feb 2025, Daniel Stenberg via curl-users wrote: > >> 4. Another way? > > I thought of another way: > > 4. Add a new option --location-code that just changes how -L works, so that > users can opt to add this

Re: On QUERY and -X

2025-02-25 Thread Daniel Stenberg via curl-users
On Tue, 25 Feb 2025, Stefan Eissing wrote: AFAICT, this is to make QUERY requests working correctly? Would it be clearer to have a separate option to do a QUERY, which then would have the "correct" redirect behaviour? So, user would not have to -X this? While the primary purpose right now is

Re: On QUERY and -X

2025-02-25 Thread Daniel Stenberg via curl-users
On Tue, 25 Feb 2025, Daniel Stenberg via curl-users wrote: 4. Another way? I thought of another way: 4. Add a new option --location-code that just changes how -L works, so that users can opt to add this in their .curlrc and magically have all existing command lines using -L switch over