docs/cmdline-opts/location.md: fix typos for location flag

Closes #16110
This commit is contained in:
Martin Harrigan 2025-01-28 10:28:25 +00:00 committed by Daniel Stenberg
parent f3920c7924
commit f6da27052e
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -19,13 +19,13 @@ Example:
If the server reports that the requested page has moved to a different
location (indicated with a Location: header and a 3XX response code), this
option makes curl redo the request on the new place. If used together with
option makes curl redo the request to the new place. If used together with
--show-headers or --head, headers from all requested pages are shown.
When authentication is used, or send cookie with `-H Cookie:`, curl only sends
its credentials to the initial host. If a redirect takes curl to a different
host, it does not get the credentials pass on. See --location-trusted on how
to change this.
When authentication is used, or when sending a cookie with `-H Cookie:`, curl
only sends its credentials to the initial host. If a redirect takes curl to a
different host, it does not get the credentials passed on. See
--location-trusted on how to change this.
Limit the amount of redirects to follow by using the --max-redirs option.