Handling Amazon redirect with x-amz-website-redirect-location