(self)
| 257 | self.expect_continue_not_supported = False |
| 258 | |
| 259 | def storage_class(self): |
| 260 | # Note - you cannot specify GLACIER here |
| 261 | # https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html |
| 262 | cls = 'STANDARD' |
| 263 | if self.config.storage_class != "": |
| 264 | return self.config.storage_class |
| 265 | if self.config.reduced_redundancy: |
| 266 | cls = 'REDUCED_REDUNDANCY' |
| 267 | return cls |
| 268 | |
| 269 | def get_hostname(self, bucket): |
| 270 | if bucket and bucket in S3Request.redir_map: |
no outgoing calls
no test coverage detected