Stratosphere.Block.S3.S3Service.WithDate C# (CSharp) Method

WithDate() private static method

private static WithDate ( string>.IEnumerable headers ) : string>>.IEnumerable
headers string>.IEnumerable
return string>>.IEnumerable
        private static IEnumerable<KeyValuePair<string, string>> WithDate(IEnumerable<KeyValuePair<string, string>> headers)
        {
            yield return new KeyValuePair<string, string>("X-Amz-Date", DateTime.UtcNow.ToString("R"));

            foreach (KeyValuePair<string, string> header in headers)
            {
                yield return header;
            }
        }