/// <summary> /// Sets the Range header of the request to the specified from and to. /// </summary> /// <param name="from">The Range header from.</param> /// <param name="to">The Range header to.</param> /// <returns>An <see cref="IRequest"/> object that represents the request.</returns> public static IRequest Range(this IWith @this, long from, long to) => @this.Range(new RangeHeaderValue(from, to));