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: Redirections and port / http-https change
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 3 Oct 2025 23:38:37 +0200 (CEST)
On Fri, 3 Oct 2025, Jicea via curl-library wrote:
> My questions are about port and HTTPS/HTTP
>
> - are the Authentication/Cookie headers filtered when ports change (even with the same hostname) ?
> - are the Authentication/Cookie headers filtered when going from https:// to http:// ?
>
> Contrary to the doc, in the code port / protocol seem to be taken into
> account (unless "host" in the doc stands for protocol + host + port ?)
"host" in the doc (at least when it regards this) stands for protocol + host +
port.
This should also be fairly easy to verify.
Date: Fri, 3 Oct 2025 23:38:37 +0200 (CEST)
On Fri, 3 Oct 2025, Jicea via curl-library wrote:
> My questions are about port and HTTPS/HTTP
>
> - are the Authentication/Cookie headers filtered when ports change (even with the same hostname) ?
> - are the Authentication/Cookie headers filtered when going from https:// to http:// ?
>
> Contrary to the doc, in the code port / protocol seem to be taken into
> account (unless "host" in the doc stands for protocol + host + port ?)
"host" in the doc (at least when it regards this) stands for protocol + host +
port.
This should also be fairly easy to verify.
-- / daniel.haxx.se || https://rock-solid.curl.dev -- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2025-10-03