1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: referer 5Short: e 6Arg: <URL> 7Protocols: HTTP 8Help: Referrer URL 9Category: http 10Added: 4.0 11Multi: single 12See-also: 13 - user-agent 14 - header 15Example: 16 - --referer "https://fake.example" $URL 17 - --referer "https://fake.example;auto" -L $URL 18 - --referer ";auto" -L $URL 19--- 20 21# `--referer` 22 23Set the referrer URL in the HTTP request. This can also be set with the 24--header flag of course. When used with --location you can append `;auto`" to 25the --referer URL to make curl automatically set the previous URL when it 26follows a Location: header. The `;auto` string can be used alone, even if you 27do not set an initial --referer. 28