Re: Redirections and port / http-https change
Daniel Stenberg via curl-library <[email protected]> Fri, 3 Oct 2025 23:38:37 +0200 (CEST)
| Newsgroups | gmane.comp.web.curl.library |
|---|---|
| Message-ID | <[email protected]> |
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.html