Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Re: On QUERY and -X
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Stefan Eissing via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 25 Feb 2025 15:27:25 +0100
> Am 25.02.2025 um 15:19 schrieb Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>:
>
> 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
Date: Tue, 25 Feb 2025 15:27:25 +0100
> Am 25.02.2025 um 15:19 schrieb Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>:
>
> 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.htmlReceived on 2025-02-25