aws-sdk-android icon indicating copy to clipboard operation
aws-sdk-android copied to clipboard

Migrate S3 SDKs to use virtual-hosted (V2) style URLs

Open palpatim opened this issue 6 years ago • 0 comments

As @Mazyod noted in https://github.com/aws-amplify/aws-sdk-ios/issues/1535, S3 will retire support for path-style URLs in Sep 2020. We need to migrate our SDKs to use virtual-host style URLs.

Describe the bug Dispatching an S3 request with AWSS3 SDK uses V1 path-style URL. This style is going to be dropped next year. https://forums.aws.amazon.com/ann.jspa?annID=6776

To Reproduce

  1. Initialize an AWSS3 request.
  2. Dispatch the request.
  3. Notice the URL being dispatched.

Which AWS service(s) are affected? S3

Expected behavior URL should be virtual-hosted style V2 instead.

Environment(please complete the following information):

  • SDK Version: 2.9.7
  • Carthage
  • Swift Version : 5.0.1

palpatim avatar May 13 '19 16:05 palpatim