16 references to Content
System.Net.Http (16)
System\Net\Http\Headers\HttpContentHeaders.cs (1)
110
: base(HttpHeaderType.
Content
| HttpHeaderType.Custom, HttpHeaderType.None)
System\Net\Http\Headers\KnownHeaders.cs (11)
29
public static readonly KnownHeader Allow = new KnownHeader("Allow", HttpHeaderType.
Content
, GenericHeaderParser.TokenListParser, null, H2StaticTable.Allow);
35
public static readonly KnownHeader ContentDisposition = new KnownHeader("Content-Disposition", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, GenericHeaderParser.ContentDispositionParser, new string[] { "inline", "attachment" }, H2StaticTable.ContentDisposition, H3StaticTable.ContentDisposition);
36
public static readonly KnownHeader ContentEncoding = new KnownHeader("Content-Encoding", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, GenericHeaderParser.TokenListParser, new string[] { "gzip", "deflate", "br", "compress", "identity" }, H2StaticTable.ContentEncoding, H3StaticTable.ContentEncodingBr);
37
public static readonly KnownHeader ContentLanguage = new KnownHeader("Content-Language", HttpHeaderType.
Content
, GenericHeaderParser.TokenListParser, null, H2StaticTable.ContentLanguage);
38
public static readonly KnownHeader ContentLength = new KnownHeader("Content-Length", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, Int64NumberHeaderParser.Parser, null, H2StaticTable.ContentLength, H3StaticTable.ContentLength0);
39
public static readonly KnownHeader ContentLocation = new KnownHeader("Content-Location", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, UriHeaderParser.RelativeOrAbsoluteUriParser, null, H2StaticTable.ContentLocation);
40
public static readonly KnownHeader ContentMD5 = new KnownHeader("Content-MD5", HttpHeaderType.
Content
, ByteArrayHeaderParser.Parser);
41
public static readonly KnownHeader ContentRange = new KnownHeader("Content-Range", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, GenericHeaderParser.ContentRangeParser, null, H2StaticTable.ContentRange);
43
public static readonly KnownHeader ContentType = new KnownHeader("Content-Type", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, MediaTypeHeaderParser.SingleValueParser, null, H2StaticTable.ContentType, H3StaticTable.ContentTypeApplicationDnsMessage);
50
public static readonly KnownHeader Expires = new KnownHeader("Expires", HttpHeaderType.
Content
| HttpHeaderType.NonTrailing, DateHeaderParser.Parser, null, H2StaticTable.Expires);
62
public static readonly KnownHeader LastModified = new KnownHeader("Last-Modified", HttpHeaderType.
Content
, DateHeaderParser.Parser, null, H2StaticTable.LastModified, H3StaticTable.LastModified);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
714
else if ((descriptor.HeaderType & HttpHeaderType.
Content
) == HttpHeaderType.
Content
)
System\Net\Http\SocketsHttpHandler\Http3RequestStream.cs (1)
1090
case HeaderState.ResponseHeaders when descriptor.HeaderType.HasFlag(HttpHeaderType.
Content
):
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (1)
1301
else if ((headerType & HttpHeaderType.
Content
) != 0)