summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/referer.d
blob: 8b2057b9400b6aa0780a38f7a0618943f4d468de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Long: referer
Short: e
Arg: <URL>
Protocols: HTTP
Help: Referrer URL
See-also: user-agent header
Category: http
---
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.