/// <summary>
        /// Returns the Azure Async Operation ID - the last segment of
        /// the Azure Async Operation header - from the headers collection.
        /// </summary>
        /// <param name="headers">Headers collection.</param>
        /// <returns>Azure Async Operation ID.</returns>
        public static string GetAzureAsyncOperationId(this HttpResponseHeaders headers)
        {
            var asyncHeader = headers.GetAzureAsyncOperationHeader();

            return(asyncHeader.Segments.Last());
        }