public void ValidateName(ICharSequence name) { DefaultHttpHeaders.HttpNameValidator.ValidateName(name); if (HttpHeaderNames.ContentLength.ContentEqualsIgnoreCase(name) || HttpHeaderNames.TransferEncoding.ContentEqualsIgnoreCase(name) || HttpHeaderNames.Trailer.ContentEqualsIgnoreCase(name)) { ThrowHelper.ThrowArgumentException_TrailingHeaderName(name); } }