class Aws::Plugins::S3RegionDetection::DetectRegionHandler
def region_from_location_header(context)
def region_from_location_header(context) location = context.http_response.headers['location'] location.match(/s3.(.+?)\.amazonaws\.com/)[1] end
def region_from_location_header(context) location = context.http_response.headers['location'] location.match(/s3.(.+?)\.amazonaws\.com/)[1] end