Imported Upstream version 7.59.0
[platform/upstream/curl.git] / docs / cmdline-opts / referer.d
1 Long: referer
2 Short: e
3 Arg: <URL>
4 Protocols: HTTP
5 Help: Referrer URL
6 See-also: user-agent header
7 ---
8 Sends the "Referrer Page" information to the HTTP server. This can also be set
9 with the --header flag of course.  When used with --location you can append
10 ";auto" to the --referer URL to make curl automatically set the previous URL
11 when it follows a Location: header. The \&";auto" string can be used alone,
12 even if you don't set an initial --referer.
13
14 If this option is used several times, the last one will be used.