class Aws::Plugins::S3RegionDetection::DetectRegionHandler
def detect_region_and_retry(resp)
def detect_region_and_retry(resp) context = resp.context updgrade_to_v4(context, 'us-east-1') resp = @handler.call(context) actual_region = region_from_location_header(context) updgrade_to_v4(context, actual_region) log_warning(context, actual_region) @handler.call(context) end