mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 03:17:28 +08:00
rcat: add support for --header-upload #59
This commit is contained in:
parent
087bf1d584
commit
1dced3b3c4
|
@ -1344,6 +1344,9 @@ func Rcat(ctx context.Context, fdst fs.Fs, dstFileName string, in io.ReadCloser,
|
|||
} else {
|
||||
trackingIn = readCounter
|
||||
}
|
||||
for _, option := range fs.Config.UploadHeaders {
|
||||
options = append(options, option)
|
||||
}
|
||||
|
||||
compare := func(dst fs.Object) error {
|
||||
var sums map[hash.Type]string
|
||||
|
|
Loading…
Reference in New Issue
Block a user