You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let region = Region::Custom{name:"".to_string(),endpoint:"http://xxx/".to_string(),// end with '/'};let http_client = HttpClient::new()?;let s3client = S3Client::new_with(http_client, provider, region);let request = PutObjectRequest{// ...
..Default::default()};self.s3client.put_object(request).await?;
The failed code:
Will result the error:
If remove the slash of
region.endpoint
, such ashttp://xxx
, it is ok.Could it better to compatible with this situation, or make an error when creating the custom region?
The text was updated successfully, but these errors were encountered: