(&self, path: ObjectPath)
| 154 | .with_access_key_id(config.access_key) |
| 155 | .with_secret_access_key(config.secret_key) |
| 156 | .with_virtual_hosted_style_request(config.virtual_hosted_style) |
| 157 | .with_conditional_put(S3ConditionalPut::ETagMatch) |
| 158 | // ClientOptions replaces the builder's defaults wholesale, so allow_http must be |
| 159 | // set here too. Disable the 30s request timeout: a streamed download/upload of a |
| 160 | // large mod runs longer (bounded by the client's transfer speed), and the default |
| 161 | // would abort the GET mid-stream — clients then see a truncated "partial file". |
| 162 | .with_client_options( |
| 163 | object_store::ClientOptions::new() |
| 164 | .with_allow_http(config.allow_http) |
| 165 | .with_timeout_disabled(), |
no outgoing calls
no test coverage detected