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