18 references to Response
System.Net.Http (18)
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
269
: base(HttpHeaderType.General | HttpHeaderType.Request | HttpHeaderType.Custom, HttpHeaderType.
Response
)
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
137
: base(containsTrailingHeaders ? HttpHeaderType.All ^ HttpHeaderType.Request : HttpHeaderType.General | HttpHeaderType.
Response
| HttpHeaderType.Custom,
System\Net\Http\Headers\KnownHeaders.cs (16)
16
public static readonly KnownHeader PseudoStatus = new(":status", HttpHeaderType.
Response
, parser: null);
22
public static readonly KnownHeader AcceptRanges = new("Accept-Ranges", HttpHeaderType.
Response
, GenericHeaderParser.TokenListParser, ["bytes", "none"], H2StaticTable.AcceptRanges, H3StaticTable.AcceptRangesBytes);
23
public static readonly KnownHeader AccessControlAllowCredentials = new("Access-Control-Allow-Credentials", HttpHeaderType.
Response
, parser: null, ["true"], http3StaticTableIndex: H3StaticTable.AccessControlAllowCredentials);
24
public static readonly KnownHeader AccessControlAllowHeaders = new("Access-Control-Allow-Headers", HttpHeaderType.
Response
, parser: null, ["*"], http3StaticTableIndex: H3StaticTable.AccessControlAllowHeadersCacheControl);
25
public static readonly KnownHeader AccessControlAllowMethods = new("Access-Control-Allow-Methods", HttpHeaderType.
Response
, parser: null, ["POST", "*"], http3StaticTableIndex: H3StaticTable.AccessControlAllowMethodsGet);
26
public static readonly KnownHeader AccessControlAllowOrigin = new("Access-Control-Allow-Origin", HttpHeaderType.
Response
, parser: null, ["*", "null"], H2StaticTable.AccessControlAllowOrigin, H3StaticTable.AccessControlAllowOriginAny);
27
public static readonly KnownHeader AccessControlExposeHeaders = new("Access-Control-Expose-Headers", HttpHeaderType.
Response
, parser: null, ["*"], H3StaticTable.AccessControlExposeHeadersContentLength);
29
public static readonly KnownHeader Age = new("Age", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, TimeSpanHeaderParser.Parser, ["0"], H2StaticTable.Age, H3StaticTable.Age0);
31
public static readonly KnownHeader AltSvc = new("Alt-Svc", HttpHeaderType.
Response
, GetAltSvcHeaderParser(), ["h3=\":443\"", "h3=\":443\"; ma=2592000", "clear"], http3StaticTableIndex: H3StaticTable.AltSvcClear);
49
public static readonly KnownHeader ETag = new("ETag", HttpHeaderType.
Response
, GenericHeaderParser.SingleValueEntityTagParser, null, H2StaticTable.ETag, H3StaticTable.ETag);
66
public static readonly KnownHeader Location = new("Location", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, UriHeaderParser.RelativeOrAbsoluteUriParser, null, H2StaticTable.Location, H3StaticTable.Location);
71
public static readonly KnownHeader ProxyAuthenticate = new("Proxy-Authenticate", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, GenericHeaderParser.MultipleValueAuthenticationParser, null, H2StaticTable.ProxyAuthenticate);
80
public static readonly KnownHeader RetryAfter = new("Retry-After", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, GenericHeaderParser.RetryConditionParser, null, H2StaticTable.RetryAfter);
86
public static readonly KnownHeader Server = new("Server", HttpHeaderType.
Response
, ProductInfoHeaderParser.MultipleValueParser, null, H2StaticTable.Server, H3StaticTable.Server);
99
public static readonly KnownHeader Vary = new("Vary", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, GenericHeaderParser.TokenListParser, ["Accept-Encoding", "accept-encoding", "Origin", "Referer", "*"], H2StaticTable.Vary, H3StaticTable.VaryAcceptEncoding);
101
public static readonly KnownHeader WWWAuthenticate = new("WWW-Authenticate", HttpHeaderType.
Response
| HttpHeaderType.NonTrailing, GenericHeaderParser.MultipleValueAuthenticationParser, null, H2StaticTable.WwwAuthenticate);