diff options
| author | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-26 15:23:24 +0200 |
|---|---|---|
| committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2022-10-28 13:08:59 +0200 |
| commit | 82de494f495481b5ae016038c7020898a135c8dc (patch) | |
| tree | 820ea30f856dbe82bdeae84dba86d5361764d617 /capabilities.go | |
| parent | 8b38a040830109f19550e7329b82ec5caf76b321 (diff) | |
| download | go-schwift-82de494f495481b5ae016038c7020898a135c8dc.tar.gz | |
Generate digest preferable with sha2, then sha512 and fallback to insecure sha1
Diffstat (limited to 'capabilities.go')
| -rw-r--r-- | capabilities.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capabilities.go b/capabilities.go index 62290d9..26a3532 100644 --- a/capabilities.go +++ b/capabilities.go @@ -74,6 +74,7 @@ type Capabilities struct { AccountACLs bool `json:"account_acls"` } `json:"tempauth"` TempURL *struct { + AllowedDigests []string `json:"allowed_digests"` IncomingAllowHeaders []string `json:"incoming_allow_headers"` IncomingRemoveHeaders []string `json:"incoming_remove_headers"` Methods []string `json:"methods"` |
