fs/config: add header-download and header-upload flags

This commit is contained in:
Tim Gallant
2020-02-09 23:50:08 -08:00
committed by Nick Craig-Wood
parent f8039deb7c
commit 93caa459e3
3 changed files with 33 additions and 0 deletions

View File

@@ -111,6 +111,8 @@ type ConfigInfo struct {
MultiThreadStreams int
MultiThreadSet bool // whether MultiThreadStreams was set (set in fs/config/configflags)
OrderBy string // instructions on how to order the transfer
UploadHeaders []*HTTPOption
DownloadHeaders []*HTTPOption
}
// NewConfig creates a new config with everything set to the default