/// <summary>
        /// Creates a new WebDavTimeoutHeaderValue with the timeout specified.
        /// </summary>
        /// <param name="timeout">The timeout as <see cref="TimeSpan"/>.</param>
        /// <returns>A new WebDavTimeoutHeaderValue with the timeout specified.</returns>
        public static WebDavTimeoutHeaderValue CreateWebDavTimeout(TimeSpan timeout)
        {
            var t = new WebDavTimeoutHeaderValue()
            {
                timeout = "Second-" + timeout.TotalSeconds
            };

            return(t);
        }
        /// <summary>
        /// Creates a new WebDavTimeoutHeaderValue with infinite timeout.
        /// </summary>
        /// <returns>A a new WebDavTimeoutHeaderValue with infinite timeout.</returns>
        public static WebDavTimeoutHeaderValue CreateInfiniteWebDavTimeout()
        {
            var t = new WebDavTimeoutHeaderValue()
            {
                timeout = "Infinite"
            };

            return(t);
        }