Handle http status code 306 (redirect) responses from AWS
merge