rclone/backend/azurefiles
Nick Craig-Wood e1748a3183 azurefiles: fix missing x-ms-file-request-intent header
According to the SDK docs

> FileRequestIntent is required when using TokenCredential for
> authentication. Acceptable value is backup.

This sets the correct option in the SDK. It does it for all types of
authentication but the SDK seems clever enough not to supply it when
it isn't needed.

This fixes the error

> MissingRequiredHeader An HTTP header that's mandatory for this
> request is not specified. x-ms-file-request-intent

Fixes #8241
2024-12-19 17:01:34 +00:00
..
azurefiles_internal_test.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
azurefiles_test.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
azurefiles_unsupported.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
azurefiles.go azurefiles: fix missing x-ms-file-request-intent header 2024-12-19 17:01:34 +00:00