1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-14 21:45:13 -05:00
curl/docs/cmdline-opts/referer.d

15 lines
518 B
D
Raw Normal View History

Long: referer
Short: e
2016-12-16 16:01:01 -05:00
Arg: <URL>
Protocols: HTTP
Help: Referer URL
See-also: user-agent header
---
Sends the "Referrer Page" information to the HTTP server. This can also be set
with the --header flag of course. When used with --location you can append
";auto" to the --referer URL to make curl automatically set the previous URL
when it follows a Location: header. The \&";auto" string can be used alone,
even if you don't set an initial --referer.
If this option is used several times, the last one will be used.