mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:13:32 +03:00
tool_xattr: create the user.creator xattr attribute
This indicates that the file was created by curl which can help a user determine the origin of a file. Like the other attributes, this is only enabled with the --xattr option. Closes #15237
This commit is contained in:
parent
dfd36d3ee0
commit
954177b9da
5 changed files with 8 additions and 5 deletions
|
|
@ -78,6 +78,7 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
user.creator => curl
|
||||
user.mime_type => text/html
|
||||
user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</stdout>
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
user.creator => curl
|
||||
user.mime_type => fake/data
|
||||
user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</stdout>
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ Accept: */*
|
|||
|
||||
</protocol>
|
||||
<stdout mode="text">
|
||||
user.creator => curl
|
||||
user.mime_type => fake/data
|
||||
user.xdg.origin.url => http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
||||
</stdout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue