etlegacy-libs/curl/docs/cmdline-opts/referer.d

15 lines
519 B
D
Raw Normal View History

2017-03-02 22:46:25 +00:00
Long: referer
Short: e
Arg: <URL>
Protocols: HTTP
2017-07-01 14:06:24 +00:00
Help: Referrer URL
2017-03-02 22:46:25 +00:00
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.