referer.d 671 B

123456789101112131415161718
  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. ---
  12. Sends the "Referrer Page" information to the HTTP server. This can also be set
  13. with the --header flag of course. When used with --location you can append
  14. ";auto" to the --referer URL to make curl automatically set the previous URL
  15. when it follows a Location: header. The \&";auto" string can be used alone,
  16. even if you don't set an initial --referer.
  17. If this option is used several times, the last one will be used.