コード例 #1
0
        public void It_has_an_extension_method_to_write_status_line()
        {
            _formatter.AppendHttpStatusLine(HttpVersion.V1_1, 200, new Utf8String("OK"));

            var result = _formatter.Formatted;

            result.AsSpan().SequenceEqual(_statusLineInBytes);
            _formatter.Clear();
        }