mirror of
https://github.com/curl/curl.git
synced 2026-08-26 10:13:31 +03:00
http: add support to read and store the referrer header
- add CURLINFO_REFERER libcurl option
- add --write-out '%{referer}' command-line option
- extend --xattr command-line option to fill user.xdg.referrer.url extended
attribute with the referrer (if there was any)
Closes #6591
This commit is contained in:
parent
70472a44de
commit
44872aefc2
15 changed files with 35 additions and 11 deletions
|
|
@ -93,6 +93,9 @@ When an HTTP request was made without --location to follow redirects (or when
|
|||
--max-redir is met), this variable will show the actual URL a redirect
|
||||
\fIwould\fP have gone to. (Added in 7.18.2)
|
||||
.TP
|
||||
.B referer
|
||||
The Referer: header, if there was any. (Added in 7.76.0)
|
||||
.TP
|
||||
.B remote_ip
|
||||
The remote IP address of the most recently done connection - can be either
|
||||
IPv4 or IPv6 (Added in 7.29.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue