rcat: add support for --header-upload #59
This commit is contained in:
parent
087bf1d584
commit
1dced3b3c4
1 changed files with 3 additions and 0 deletions
|
@ -1344,6 +1344,9 @@ func Rcat(ctx context.Context, fdst fs.Fs, dstFileName string, in io.ReadCloser,
|
||||||
} else {
|
} else {
|
||||||
trackingIn = readCounter
|
trackingIn = readCounter
|
||||||
}
|
}
|
||||||
|
for _, option := range fs.Config.UploadHeaders {
|
||||||
|
options = append(options, option)
|
||||||
|
}
|
||||||
|
|
||||||
compare := func(dst fs.Object) error {
|
compare := func(dst fs.Object) error {
|
||||||
var sums map[hash.Type]string
|
var sums map[hash.Type]string
|
||||||
|
|
Loading…
Reference in a new issue