5 implementations of IHeaderDictionary
Microsoft.AspNetCore.Http (1)
HeaderDictionary.cs (1)
18public class HeaderDictionary : IHeaderDictionary
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\Http\HttpHeaders.cs (1)
20internal abstract partial class HttpHeaders : IHeaderDictionary
Internal\Http\HttpHeaders.Generated.cs (3)
378internal partial class HttpRequestHeaders : IHeaderDictionary 8686internal partial class HttpResponseHeaders : IHeaderDictionary 15522internal partial class HttpResponseTrailers : IHeaderDictionary
389 references to IHeaderDictionary
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
364var responseHeaders = httpContext.Response.Headers;
Microsoft.AspNetCore.Authentication.Cookies (1)
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
274var responseHeaders = context.Response.Headers;
Microsoft.AspNetCore.Components.Endpoints (1)
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
274var responseHeaders = context.Response.Headers;
Microsoft.AspNetCore.Components.Server (1)
Builder\ServerRazorComponentsEndpointConventionBuilderExtensions.cs (1)
58var headers = context.Response.Headers;
Microsoft.AspNetCore.Cors (3)
Infrastructure\CorsService.cs (3)
68var requestHeaders = context.Request.Headers; 99var headers = context.Request.Headers; 164var headers = response.Headers;
Microsoft.AspNetCore.Diagnostics (20)
_generated\1\ExtensionsExceptionJsonContext.ExceptionExtensionData.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData((string)args[0], (global::Microsoft.AspNetCore.Http.IHeaderDictionary)args[1], (string)args[2], (string)args[3], (global::Microsoft.AspNetCore.Routing.RouteValueDictionary)args[4]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary), typeof(string), typeof(string), typeof(global::Microsoft.AspNetCore.Routing.RouteValueDictionary)}, modifiers: null), 74var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.Http.IHeaderDictionary> 89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Diagnostics.ExceptionExtensionData).GetProperty("Headers", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary), global::System.Array.Empty<global::System.Type>(), null), 92properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary>(options, info1); 197ParameterType = typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary),
_generated\2\ExtensionsExceptionJsonContext.IHeaderDictionary.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary>? _IHeaderDictionary; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary> IHeaderDictionary 22get => _IHeaderDictionary ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary> Create_IHeaderDictionary(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.Http.IHeaderDictionary>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.AspNetCore.Http.IHeaderDictionary> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::Microsoft.AspNetCore.Http.IHeaderDictionary, string, global::Microsoft.Extensions.Primitives.StringValues>(options, info); 47private void IHeaderDictionarySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.Http.IHeaderDictionary? value)
_generated\8\ExtensionsExceptionJsonContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::Microsoft.AspNetCore.Http.IHeaderDictionary))
DeveloperExceptionPage\DeveloperExceptionPageMiddlewareImpl.cs (2)
392public ExceptionExtensionData(string details, IHeaderDictionary headers, string path, string? endpoint, RouteValueDictionary? routeValues) 402public IHeaderDictionary Headers { get; }
ExceptionHandler\ExceptionHandlerMiddlewareImpl.cs (1)
302var headers = ((HttpResponse)state).Headers;
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckMiddleware.cs (1)
64var headers = httpContext.Response.Headers;
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\HeaderReader.cs (1)
29public void Read(IHeaderDictionary headers, IList<KeyValuePair<string, object?>> logContext)
Microsoft.AspNetCore.Hosting (3)
Internal\HostingApplicationDiagnostics.cs (3)
417var headers = httpContext.Request.Headers; 425var headers = (IHeaderDictionary)carrier!;
Microsoft.AspNetCore.Http (7)
Features\HttpRequestFeature.cs (1)
49public IHeaderDictionary Headers { get; set; }
Features\HttpResponseFeature.cs (1)
28public IHeaderDictionary Headers { get; set; }
Features\RequestCookiesFeature.cs (1)
60var headers = HttpRequestFeature.Headers;
FormFile.cs (1)
55public IHeaderDictionary Headers { get; set; } = default!;
Internal\DefaultHttpRequest.cs (1)
133public override IHeaderDictionary Headers
Internal\DefaultHttpResponse.cs (1)
62public override IHeaderDictionary Headers
Internal\ResponseCookies.cs (1)
29private IHeaderDictionary Headers { get; set; }
Microsoft.AspNetCore.Http.Abstractions (21)
Extensions\HeaderDictionaryExtensions.cs (9)
9/// Contains extension methods for modifying an <see cref="IHeaderDictionary"/> instance. 16/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> 19public static void Append(this IHeaderDictionary headers, string key, StringValues value) 27/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> 30public static void AppendCommaSeparatedValues(this IHeaderDictionary headers, string key, params string[] values) 39/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> 42public static string[] GetCommaSeparatedValues(this IHeaderDictionary headers, string key) 53/// <param name="headers">The <see cref="IHeaderDictionary"/> to use.</param> 56public static void SetCommaSeparatedValues(this IHeaderDictionary headers, string key, params string[] values)
HttpRequest.cs (2)
87public abstract IHeaderDictionary Headers { get; } 173public IHeaderDictionary Headers => _request.Headers;
HttpResponse.cs (3)
47public abstract IHeaderDictionary Headers { get; } 168public IHeaderDictionary Headers => _response.Headers; 169public IHeaderDictionary? Trailers
Internal\ParsingHelpers.cs (7)
11public static StringValues GetHeader(IHeaderDictionary headers, string key) 17public static string[] GetHeaderSplit(IHeaderDictionary headers, string key) 41public static StringValues GetHeaderUnmodified(IHeaderDictionary headers, string key) 49public static void SetHeaderJoined(IHeaderDictionary headers, string key, StringValues value) 87public static void SetHeaderUnmodified(IHeaderDictionary headers, string key, StringValues? values) 102public static void AppendHeaderJoined(IHeaderDictionary headers, string key, params string[] values) 123public static void AppendHeaderUnmodified(IHeaderDictionary headers, string key, StringValues values)
Microsoft.AspNetCore.Http.Extensions (15)
HeaderDictionaryTypeExtensions.cs (9)
42internal static DateTimeOffset? GetDate(this IHeaderDictionary headers, string name) 50internal static void Set(this IHeaderDictionary headers, string name, object? value) 65internal static void SetList<T>(this IHeaderDictionary headers, string name, IList<T>? values) 90/// Appends a sequence of values to <see cref="IHeaderDictionary"/>. 93/// <param name="Headers">The <see cref="IHeaderDictionary"/>.</param> 96public static void AppendList<T>(this IHeaderDictionary Headers, string name, IList<T> values) 120internal static void SetDate(this IHeaderDictionary headers, string name, DateTimeOffset? value) 168internal static T? Get<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(this IHeaderDictionary headers, string name) 220internal static IList<T> GetList<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicMethods)] T>(this IHeaderDictionary headers, string name)
RequestDelegateFactory.cs (2)
55private static readonly MethodInfo GetHeaderSplitMethod = typeof(ParsingHelpers).GetMethod(nameof(ParsingHelpers.GetHeaderSplit), BindingFlags.Public | BindingFlags.Static, [typeof(IHeaderDictionary), typeof(string)])!; 70private static readonly PropertyInfo HeaderIndexerProperty = typeof(IHeaderDictionary).GetProperty("Item")!;
RequestHeaders.cs (2)
19public RequestHeaders(IHeaderDictionary headers) 29public IHeaderDictionary Headers { get; }
ResponseHeaders.cs (2)
19public ResponseHeaders(IHeaderDictionary headers) 29public IHeaderDictionary Headers { get; }
Microsoft.AspNetCore.Http.Features (5)
IFormFile.cs (1)
24IHeaderDictionary Headers { get; }
IHttpRequestFeature.cs (1)
82IHeaderDictionary Headers { get; set; }
IHttpRequestTrailersFeature.cs (1)
22IHeaderDictionary Trailers { get; }
IHttpResponseFeature.cs (1)
32IHeaderDictionary Headers { get; set; }
IHttpResponseTrailersFeature.cs (1)
18IHeaderDictionary Trailers { get; set; }
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingMiddleware.cs (1)
357IHeaderDictionary headers,
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
128var requestHeaders = context.Request.Headers;
Microsoft.AspNetCore.Localization (1)
RequestLocalizationMiddleware.cs (1)
116var headers = context.Response.Headers;
Microsoft.AspNetCore.Mvc.Core (2)
Filters\ResponseCacheFilterExecutor.cs (1)
69var headers = context.HttpContext.Response.Headers;
src\aspnetcore\src\Shared\ChunkingCookieManager\ChunkingCookieManager.cs (1)
274var responseHeaders = context.Response.Headers;
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Cache\CacheTagKey.cs (1)
22private static readonly Func<IHeaderDictionary, string, string> HeaderAccessor = (c, key) => c[key];
Microsoft.AspNetCore.OutputCaching (4)
OutputCacheEntry.cs (2)
81internal OutputCacheEntry CopyHeadersFrom(IHeaderDictionary headers) 112public void CopyHeadersTo(IHeaderDictionary headers)
OutputCacheKeyProvider.cs (1)
160var requestHeaders = context.HttpContext.Request.Headers;
OutputCacheMiddleware.cs (1)
396var headers = response.Headers;
Microsoft.AspNetCore.ResponseCaching (7)
CacheEntry\CachedResponse.cs (1)
14public IHeaderDictionary Headers { get; set; } = default!;
MemoryCachedResponse.cs (1)
14public IHeaderDictionary Headers { get; set; } = new HeaderDictionary();
ResponseCachingContext.cs (1)
55internal IHeaderDictionary CachedResponseHeaders { get; set; }
ResponseCachingKeyProvider.cs (1)
110var requestHeaders = context.HttpContext.Request.Headers;
ResponseCachingMiddleware.cs (2)
272var headers = response.Headers; 467var cachedResponseHeaders = context.CachedResponseHeaders;
ResponseCachingPolicyProvider.cs (1)
35var requestHeaders = context.HttpContext.Request.Headers;
Microsoft.AspNetCore.ResponseCompression (2)
ResponseCompressionBody.cs (2)
210var headers = context.Response.Headers; 240var headers = _context.Response.Headers;
Microsoft.AspNetCore.Routing (2)
Matching\HttpMethodMatcherPolicy.cs (2)
116var headers = httpContext.Request.Headers; 422var headers = httpContext.Request.Headers;
Microsoft.AspNetCore.Server.Kestrel.Core (282)
Internal\Http\Http1MessageBody.cs (1)
187IHeaderDictionary headerDictionary = headers;
Internal\Http\HttpHeaders.cs (2)
47StringValues IHeaderDictionary.this[string key] 91((IHeaderDictionary)this)[key] = value;
Internal\Http\HttpHeaders.Generated.cs (267)
596StringValues IHeaderDictionary.Accept 624StringValues IHeaderDictionary.Connection 652StringValues IHeaderDictionary.Host 680StringValues IHeaderDictionary.UserAgent 708StringValues IHeaderDictionary.AcceptCharset 736StringValues IHeaderDictionary.AcceptEncoding 764StringValues IHeaderDictionary.AcceptLanguage 792StringValues IHeaderDictionary.AccessControlRequestHeaders 820StringValues IHeaderDictionary.AccessControlRequestMethod 848StringValues IHeaderDictionary.Authorization 876StringValues IHeaderDictionary.Baggage 904StringValues IHeaderDictionary.CacheControl 932StringValues IHeaderDictionary.ContentType 960StringValues IHeaderDictionary.Cookie 988StringValues IHeaderDictionary.CorrelationContext 1016StringValues IHeaderDictionary.Date 1044StringValues IHeaderDictionary.Expect 1072StringValues IHeaderDictionary.From 1100StringValues IHeaderDictionary.GrpcAcceptEncoding 1128StringValues IHeaderDictionary.GrpcEncoding 1156StringValues IHeaderDictionary.GrpcTimeout 1184StringValues IHeaderDictionary.IfMatch 1212StringValues IHeaderDictionary.IfModifiedSince 1240StringValues IHeaderDictionary.IfNoneMatch 1268StringValues IHeaderDictionary.IfRange 1296StringValues IHeaderDictionary.IfUnmodifiedSince 1324StringValues IHeaderDictionary.KeepAlive 1352StringValues IHeaderDictionary.MaxForwards 1380StringValues IHeaderDictionary.Origin 1408StringValues IHeaderDictionary.Pragma 1436StringValues IHeaderDictionary.ProxyAuthorization 1464StringValues IHeaderDictionary.Range 1492StringValues IHeaderDictionary.Referer 1520StringValues IHeaderDictionary.RequestId 1548StringValues IHeaderDictionary.TE 1576StringValues IHeaderDictionary.TraceParent 1604StringValues IHeaderDictionary.TraceState 1632StringValues IHeaderDictionary.TransferEncoding 1660StringValues IHeaderDictionary.Translate 1688StringValues IHeaderDictionary.Upgrade 1716StringValues IHeaderDictionary.UpgradeInsecureRequests 1744StringValues IHeaderDictionary.Via 1772StringValues IHeaderDictionary.Warning 1801StringValues IHeaderDictionary.AcceptRanges 1818StringValues IHeaderDictionary.AccessControlAllowCredentials 1835StringValues IHeaderDictionary.AccessControlAllowHeaders 1852StringValues IHeaderDictionary.AccessControlAllowMethods 1869StringValues IHeaderDictionary.AccessControlAllowOrigin 1886StringValues IHeaderDictionary.AccessControlExposeHeaders 1903StringValues IHeaderDictionary.AccessControlMaxAge 1920StringValues IHeaderDictionary.Age 1937StringValues IHeaderDictionary.Allow 1954StringValues IHeaderDictionary.AltSvc 1971StringValues IHeaderDictionary.ContentDisposition 1988StringValues IHeaderDictionary.ContentEncoding 2005StringValues IHeaderDictionary.ContentLanguage 2022StringValues IHeaderDictionary.ContentLocation 2039StringValues IHeaderDictionary.ContentMD5 2056StringValues IHeaderDictionary.ContentRange 2073StringValues IHeaderDictionary.ContentSecurityPolicy 2090StringValues IHeaderDictionary.ContentSecurityPolicyReportOnly 2107StringValues IHeaderDictionary.ETag 2124StringValues IHeaderDictionary.Expires 2141StringValues IHeaderDictionary.GrpcMessage 2158StringValues IHeaderDictionary.GrpcStatus 2175StringValues IHeaderDictionary.LastModified 2192StringValues IHeaderDictionary.Link 2209StringValues IHeaderDictionary.Location 2226StringValues IHeaderDictionary.ProxyAuthenticate 2243StringValues IHeaderDictionary.ProxyConnection 2260StringValues IHeaderDictionary.RetryAfter 2277StringValues IHeaderDictionary.SecWebSocketAccept 2294StringValues IHeaderDictionary.SecWebSocketKey 2311StringValues IHeaderDictionary.SecWebSocketProtocol 2328StringValues IHeaderDictionary.SecWebSocketVersion 2345StringValues IHeaderDictionary.SecWebSocketExtensions 2362StringValues IHeaderDictionary.Server 2379StringValues IHeaderDictionary.SetCookie 2396StringValues IHeaderDictionary.StrictTransportSecurity 2413StringValues IHeaderDictionary.Trailer 2430StringValues IHeaderDictionary.Vary 2447StringValues IHeaderDictionary.WebSocketSubProtocols 2464StringValues IHeaderDictionary.WWWAuthenticate 2481StringValues IHeaderDictionary.XContentTypeOptions 2498StringValues IHeaderDictionary.XFrameOptions 2515StringValues IHeaderDictionary.XPoweredBy 2532StringValues IHeaderDictionary.XRequestedWith 2549StringValues IHeaderDictionary.XUACompatible 2566StringValues IHeaderDictionary.XXSSProtection 8813StringValues IHeaderDictionary.Connection 8843StringValues IHeaderDictionary.ContentType 8872StringValues IHeaderDictionary.Date 8902StringValues IHeaderDictionary.Server 8932StringValues IHeaderDictionary.AcceptRanges 8961StringValues IHeaderDictionary.AccessControlAllowCredentials 8990StringValues IHeaderDictionary.AccessControlAllowHeaders 9019StringValues IHeaderDictionary.AccessControlAllowMethods 9048StringValues IHeaderDictionary.AccessControlAllowOrigin 9077StringValues IHeaderDictionary.AccessControlExposeHeaders 9106StringValues IHeaderDictionary.AccessControlMaxAge 9135StringValues IHeaderDictionary.Age 9164StringValues IHeaderDictionary.Allow 9193StringValues IHeaderDictionary.AltSvc 9223StringValues IHeaderDictionary.CacheControl 9252StringValues IHeaderDictionary.ContentEncoding 9281StringValues IHeaderDictionary.ContentLanguage 9310StringValues IHeaderDictionary.ContentLocation 9339StringValues IHeaderDictionary.ContentMD5 9368StringValues IHeaderDictionary.ContentRange 9397StringValues IHeaderDictionary.ETag 9426StringValues IHeaderDictionary.Expires 9455StringValues IHeaderDictionary.GrpcEncoding 9484StringValues IHeaderDictionary.KeepAlive 9513StringValues IHeaderDictionary.LastModified 9542StringValues IHeaderDictionary.Location 9571StringValues IHeaderDictionary.Pragma 9600StringValues IHeaderDictionary.ProxyAuthenticate 9629StringValues IHeaderDictionary.ProxyConnection 9658StringValues IHeaderDictionary.RetryAfter 9687StringValues IHeaderDictionary.SetCookie 9716StringValues IHeaderDictionary.Trailer 9745StringValues IHeaderDictionary.TransferEncoding 9775StringValues IHeaderDictionary.Upgrade 9804StringValues IHeaderDictionary.Vary 9833StringValues IHeaderDictionary.Via 9862StringValues IHeaderDictionary.Warning 9891StringValues IHeaderDictionary.WWWAuthenticate 9921StringValues IHeaderDictionary.Accept 9939StringValues IHeaderDictionary.AcceptCharset 9957StringValues IHeaderDictionary.AcceptEncoding 9975StringValues IHeaderDictionary.AcceptLanguage 9993StringValues IHeaderDictionary.AccessControlRequestHeaders 10011StringValues IHeaderDictionary.AccessControlRequestMethod 10029StringValues IHeaderDictionary.Authorization 10047StringValues IHeaderDictionary.Baggage 10065StringValues IHeaderDictionary.ContentDisposition 10083StringValues IHeaderDictionary.ContentSecurityPolicy 10101StringValues IHeaderDictionary.ContentSecurityPolicyReportOnly 10119StringValues IHeaderDictionary.CorrelationContext 10137StringValues IHeaderDictionary.Cookie 10155StringValues IHeaderDictionary.Expect 10173StringValues IHeaderDictionary.From 10191StringValues IHeaderDictionary.GrpcAcceptEncoding 10209StringValues IHeaderDictionary.GrpcMessage 10227StringValues IHeaderDictionary.GrpcStatus 10245StringValues IHeaderDictionary.GrpcTimeout 10263StringValues IHeaderDictionary.Host 10281StringValues IHeaderDictionary.IfMatch 10299StringValues IHeaderDictionary.IfModifiedSince 10317StringValues IHeaderDictionary.IfNoneMatch 10335StringValues IHeaderDictionary.IfRange 10353StringValues IHeaderDictionary.IfUnmodifiedSince 10371StringValues IHeaderDictionary.Link 10389StringValues IHeaderDictionary.MaxForwards 10407StringValues IHeaderDictionary.Origin 10425StringValues IHeaderDictionary.ProxyAuthorization 10443StringValues IHeaderDictionary.Range 10461StringValues IHeaderDictionary.Referer 10479StringValues IHeaderDictionary.RequestId 10497StringValues IHeaderDictionary.SecWebSocketAccept 10515StringValues IHeaderDictionary.SecWebSocketKey 10533StringValues IHeaderDictionary.SecWebSocketProtocol 10551StringValues IHeaderDictionary.SecWebSocketVersion 10569StringValues IHeaderDictionary.SecWebSocketExtensions 10587StringValues IHeaderDictionary.StrictTransportSecurity 10605StringValues IHeaderDictionary.TE 10623StringValues IHeaderDictionary.Translate 10641StringValues IHeaderDictionary.TraceParent 10659StringValues IHeaderDictionary.TraceState 10677StringValues IHeaderDictionary.UpgradeInsecureRequests 10695StringValues IHeaderDictionary.UserAgent 10713StringValues IHeaderDictionary.WebSocketSubProtocols 10731StringValues IHeaderDictionary.XContentTypeOptions 10749StringValues IHeaderDictionary.XFrameOptions 10767StringValues IHeaderDictionary.XPoweredBy 10785StringValues IHeaderDictionary.XRequestedWith 10803StringValues IHeaderDictionary.XUACompatible 10821StringValues IHeaderDictionary.XXSSProtection 15530StringValues IHeaderDictionary.ETag 15559StringValues IHeaderDictionary.GrpcMessage 15588StringValues IHeaderDictionary.GrpcStatus 15618StringValues IHeaderDictionary.Accept 15636StringValues IHeaderDictionary.AcceptCharset 15654StringValues IHeaderDictionary.AcceptEncoding 15672StringValues IHeaderDictionary.AcceptLanguage 15690StringValues IHeaderDictionary.AcceptRanges 15708StringValues IHeaderDictionary.AccessControlAllowCredentials 15726StringValues IHeaderDictionary.AccessControlAllowHeaders 15744StringValues IHeaderDictionary.AccessControlAllowMethods 15762StringValues IHeaderDictionary.AccessControlAllowOrigin 15780StringValues IHeaderDictionary.AccessControlExposeHeaders 15798StringValues IHeaderDictionary.AccessControlMaxAge 15816StringValues IHeaderDictionary.AccessControlRequestHeaders 15834StringValues IHeaderDictionary.AccessControlRequestMethod 15852StringValues IHeaderDictionary.Age 15870StringValues IHeaderDictionary.Allow 15888StringValues IHeaderDictionary.AltSvc 15906StringValues IHeaderDictionary.Authorization 15924StringValues IHeaderDictionary.Baggage 15942StringValues IHeaderDictionary.CacheControl 15960StringValues IHeaderDictionary.Connection 15978StringValues IHeaderDictionary.ContentDisposition 15996StringValues IHeaderDictionary.ContentEncoding 16014StringValues IHeaderDictionary.ContentLanguage 16032StringValues IHeaderDictionary.ContentLocation 16050StringValues IHeaderDictionary.ContentMD5 16068StringValues IHeaderDictionary.ContentRange 16086StringValues IHeaderDictionary.ContentSecurityPolicy 16104StringValues IHeaderDictionary.ContentSecurityPolicyReportOnly 16122StringValues IHeaderDictionary.ContentType 16140StringValues IHeaderDictionary.CorrelationContext 16158StringValues IHeaderDictionary.Cookie 16176StringValues IHeaderDictionary.Date 16194StringValues IHeaderDictionary.Expires 16212StringValues IHeaderDictionary.Expect 16230StringValues IHeaderDictionary.From 16248StringValues IHeaderDictionary.GrpcAcceptEncoding 16266StringValues IHeaderDictionary.GrpcEncoding 16284StringValues IHeaderDictionary.GrpcTimeout 16302StringValues IHeaderDictionary.Host 16320StringValues IHeaderDictionary.KeepAlive 16338StringValues IHeaderDictionary.IfMatch 16356StringValues IHeaderDictionary.IfModifiedSince 16374StringValues IHeaderDictionary.IfNoneMatch 16392StringValues IHeaderDictionary.IfRange 16410StringValues IHeaderDictionary.IfUnmodifiedSince 16428StringValues IHeaderDictionary.LastModified 16446StringValues IHeaderDictionary.Link 16464StringValues IHeaderDictionary.Location 16482StringValues IHeaderDictionary.MaxForwards 16500StringValues IHeaderDictionary.Origin 16518StringValues IHeaderDictionary.Pragma 16536StringValues IHeaderDictionary.ProxyAuthenticate 16554StringValues IHeaderDictionary.ProxyAuthorization 16572StringValues IHeaderDictionary.ProxyConnection 16590StringValues IHeaderDictionary.Range 16608StringValues IHeaderDictionary.Referer 16626StringValues IHeaderDictionary.RetryAfter 16644StringValues IHeaderDictionary.RequestId 16662StringValues IHeaderDictionary.SecWebSocketAccept 16680StringValues IHeaderDictionary.SecWebSocketKey 16698StringValues IHeaderDictionary.SecWebSocketProtocol 16716StringValues IHeaderDictionary.SecWebSocketVersion 16734StringValues IHeaderDictionary.SecWebSocketExtensions 16752StringValues IHeaderDictionary.Server 16770StringValues IHeaderDictionary.SetCookie 16788StringValues IHeaderDictionary.StrictTransportSecurity 16806StringValues IHeaderDictionary.TE 16824StringValues IHeaderDictionary.Trailer 16842StringValues IHeaderDictionary.TransferEncoding 16860StringValues IHeaderDictionary.Translate 16878StringValues IHeaderDictionary.TraceParent 16896StringValues IHeaderDictionary.TraceState 16914StringValues IHeaderDictionary.Upgrade 16932StringValues IHeaderDictionary.UpgradeInsecureRequests 16950StringValues IHeaderDictionary.UserAgent 16968StringValues IHeaderDictionary.Vary 16986StringValues IHeaderDictionary.Via 17004StringValues IHeaderDictionary.Warning 17022StringValues IHeaderDictionary.WebSocketSubProtocols 17040StringValues IHeaderDictionary.WWWAuthenticate 17058StringValues IHeaderDictionary.XContentTypeOptions 17076StringValues IHeaderDictionary.XFrameOptions 17094StringValues IHeaderDictionary.XPoweredBy 17112StringValues IHeaderDictionary.XRequestedWith 17130StringValues IHeaderDictionary.XUACompatible 17148StringValues IHeaderDictionary.XXSSProtection
Internal\Http\HttpProtocol.cs (4)
233public IHeaderDictionary RequestHeaders { get; set; } = default!; 234public IHeaderDictionary RequestTrailers { get; } = new HeaderDictionary(); 290public IHeaderDictionary ResponseHeaders { get; set; } = default!; 966((IHeaderDictionary)HttpRequestHeaders).TryGetValue(HeaderNames.Expect, out var expect) &&
Internal\Http\HttpProtocol.FeatureCollection.cs (3)
76IHeaderDictionary IHttpRequestFeature.Headers 112IHeaderDictionary IHttpRequestTrailersFeature.Trailers 136IHeaderDictionary IHttpResponseFeature.Headers
Internal\Http2\Http2Stream.FeatureCollection.cs (2)
19private IHeaderDictionary? _userTrailers; 24IHeaderDictionary IHttpResponseTrailersFeature.Trailers
Internal\Http3\Http3Stream.cs (1)
905if (((AspNetCore.Http.IHeaderDictionary)HttpRequestHeaders).TryGetValue(WebTransportSession.CurrentSupportedVersion, out var version) && string.Equals(version, WebTransportSession.VersionEnabledIndicator, StringComparison.Ordinal))
Internal\Http3\Http3Stream.FeatureCollection.cs (2)
17private IHeaderDictionary? _userTrailers; 19IHeaderDictionary IHttpResponseTrailersFeature.Trailers
Microsoft.AspNetCore.Session (1)
SessionMiddleware.cs (1)
146var responseHeaders = response.Headers;
Microsoft.AspNetCore.WebSockets (5)
HandshakeHelpers.cs (2)
20public static void GenerateResponseHeaders(bool isHttp1, IHeaderDictionary requestHeaders, string? subProtocol, IHeaderDictionary responseHeaders)
WebSocketMiddleware.cs (3)
227public static bool CheckSupportedWebSocketRequest(string method, IHeaderDictionary requestHeaders) 293public static bool CheckSupportedWebSocketRequestH2(string method, string? protocol, IHeaderDictionary requestHeaders) 300public static bool CheckWebSocketVersion(IHeaderDictionary requestHeaders)