Comments (4)
Remove #future label on this - we need to get this completed across all libraries.
from minio-dotnet.
What we will do to resolve the issue is "https://s3.amazonaws.com" is that we always take only hostname as input. i.e not virtualized but we will construct a virtualized request underneath if known regions are found for a given bucket name.
Internally as an optimization we keep a global cache of hostname, buckets and regions
from minio-dotnet.
That way subsequent calls can fetch the values first by looking into this global cache. If not make getBucketLocation to update the cache.
This essentially solves our dilemma, also we always send as virtualized hostnames for known regions i.e all S3. This also solves our problem of taking such a URL as an input. It also means that 'hostname' is an optional argument if request is being sent to s3.
var s3Client = new MinioClient("ACCESS-KEY", "SECRET-KEY");
Means that request is for S3, if not optionally one can provide another hostname which will be used to construct the request.
from minio-dotnet.
Already implemented by the new re-write by @poornas
from minio-dotnet.
Related Issues (20)
- The AddMinio method does not add the IMinioClient to DI correctly HOT 3
- Is there any API that behaves similarly to mc rm?
- Crash when uploading a zip archive HOT 2
- "PresignedGetObjectAsync" Response-Content-Disposition is not respected?
- Allow pre-signing multipart uploads
- Failing to upload smaller streams having .WithObjectSize() as max possible stream size
- Can the PresignedGetObjectAsync method support folders?
- WithCallbackStream is not invoked when add WithFile HOT 1
- Can SDK provide interfaces similar to those on the console? HOT 1
- `PutObject_Test9` sometimes fails during CI/CD build HOT 2
- `Content-Disposition` not supported in `PutObjectAsync`
- CVE-2024-36107(Vulnerability) HOT 1
- Files uploaded with spaces in the name are returned with pluses in ListObjectsEnumAsync HOT 1
- Regression: a commit in PR#1057 broke PR#844
- Add tag filtering to ListObjects HOT 3
- Support for listening to Global Events
- ListObjectsAsync Sequence contains no elements
- Methods behave differently under Linux HOT 5
- Breaking changes in 6.0.3 for ListObjectsAsync HOT 4
- No not found exceptions are thrown while using SetObjectTagsAsync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minio-dotnet.