Re: On QUERY and -X
Stefan Eissing via curl-users <[email protected]> Tue, 25 Feb 2025 15:27:25 +0100
| Newsgroups | gmane.comp.web.curl.general |
|---|---|
| Message-ID | <[email protected]> |
> Am 25.02.2025 um 15:19 schrieb Daniel Stenberg via curl-users <[email protected]>: > > 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 to the new way. 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? Just a thought. - Stefan > > -- > > / 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