rclone/backend/googlecloudstorage
Nick Craig-Wood afde340c9e gcs: fix --header-upload - #59
Before this code we were settig the headers on the PUT request. However this isn't where GCS needs them.

After this fix we set the headers in the object upload request itself.

This means that we only support a limited range of headers

- Cache-Control
- Content-Disposition
- Content-Encoding
- Content-Language
- Content-Type
- X-Goog-Meta-

Note for the last of those are for setting custom metadata in the form
"X-Goog-Meta-Key: value".
2020-05-06 17:34:23 +01:00
..
googlecloudstorage.go gcs: fix --header-upload - #59 2020-05-06 17:34:23 +01:00
googlecloudstorage_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00