Add annex.httpheaders and annex.httpheader-command config settings
Allow custom headers to be sent with all HTTP requests. (Requested by the Internet Archive)
This commit is contained in:
parent
5fbe83f595
commit
84ac8c58db
9 changed files with 66 additions and 27 deletions
|
@ -713,6 +713,16 @@ Here are all the supported configuration settings.
|
|||
(wget is always used in preference to curl if available).
|
||||
For example, to force ipv4 only, set it to "-4"
|
||||
|
||||
* `annex.http-headers`
|
||||
|
||||
HTTP headers to send when downloading from the web. Multiple lines of
|
||||
this option can be set, one per header.
|
||||
|
||||
* `annex.http-headers-command`
|
||||
|
||||
If set, the command is run and each line of its output is used as a HTTP
|
||||
header. This overrides annex.http-headers.
|
||||
|
||||
* `remote.<name>.rsyncurl`
|
||||
|
||||
Used by rsync special remotes, this configures
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue