From 854c84d0cadd66081a38afea104228cf9f73ee74 Mon Sep 17 00:00:00 2001 From: Tim Gallant Date: Sat, 21 Mar 2020 15:04:14 -0700 Subject: [PATCH] pcloud: pass options to rest.Opts for Put and Update --- backend/pcloud/pcloud.go | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/pcloud/pcloud.go b/backend/pcloud/pcloud.go index 51c9ec209..c2735014d 100644 --- a/backend/pcloud/pcloud.go +++ b/backend/pcloud/pcloud.go @@ -1080,6 +1080,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op ContentLength: &size, Parameters: url.Values{}, TransferEncoding: []string{"identity"}, // pcloud doesn't like chunked encoding + Options: options, } leaf = o.fs.opt.Enc.FromStandardName(leaf) opts.Parameters.Set("filename", leaf)