un-nest curl
This commit is contained in:
27
curl-8.15.0/docs/cmdline-opts/referer.md
Normal file
27
curl-8.15.0/docs/cmdline-opts/referer.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
SPDX-License-Identifier: curl
|
||||
Long: referer
|
||||
Short: e
|
||||
Arg: <URL>
|
||||
Protocols: HTTP
|
||||
Help: Referrer URL
|
||||
Category: http
|
||||
Added: 4.0
|
||||
Multi: single
|
||||
See-also:
|
||||
- user-agent
|
||||
- header
|
||||
Example:
|
||||
- --referer "https://fake.example" $URL
|
||||
- --referer "https://fake.example;auto" -L $URL
|
||||
- --referer ";auto" -L $URL
|
||||
---
|
||||
|
||||
# `--referer`
|
||||
|
||||
Set the referrer URL in the HTTP request. 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
|
||||
do not set an initial --referer.
|
||||
Reference in New Issue
Block a user