Skip to content

Why does the sdk always prepend the bucket name to the endpoint and look it up in DNS? #2216

Answered by RanVaknin
deitch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @deitch ,
This is because the new bucket endpoint paradigm is virtual hosted style url.
Its not clear what is the expectation from your question, but I assume you are aiming to format your URL as path style urls?
If so you need to explicitly enable this option because S3 has largely moved away from path style urls.
You can read more about it in my comment here.
Thanks,
Ran~
Answer:

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@github-actions
Comment options

Answer selected by github-actions
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants