referer.d 683 B

12345678910111213141516171819
  1. Long: referer
  2. Short: e
  3. Arg: <URL>
  4. Protocols: HTTP
  5. Help: Referrer URL
  6. See-also: user-agent header
  7. Category: http
  8. Example: --referer "https://fake.example" $URL
  9. Example: --referer "https://fake.example;auto" -L $URL
  10. Example: --referer ";auto" -L $URL
  11. Added: 4.0
  12. ---
  13. Sends the "Referrer Page" information to the HTTP server. This can also be set
  14. with the --header flag of course. When used with --location you can append
  15. ";auto" to the --referer URL to make curl automatically set the previous URL
  16. when it follows a Location: header. The \&";auto" string can be used alone,
  17. even if you do not set an initial --referer.
  18. If this option is used several times, the last one will be used.