23 references to ContentDisposition
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (2)
2391Assert.Equal("ContentDisposition!", handler.Headers[HeaderNames.ContentDisposition]); 2408Assert.Equal("ContentDisposition!", handler.Headers[HeaderNames.ContentDisposition]);
Microsoft.AspNetCore.HeaderParsing (1)
CommonHeaders.cs (1)
45public static HeaderSetup<ContentDispositionHeaderValue> ContentDisposition => new(HeaderNames.ContentDisposition, ContentDispositionHeaderValueParser.Instance, cacheable: true);
Microsoft.AspNetCore.HeaderParsing.Tests (1)
CommonHeadersTests.cs (1)
55Assert.Equal(HeaderNames.ContentDisposition, CommonHeaders.ContentDisposition.HeaderName);
Microsoft.AspNetCore.Http.Extensions (4)
RequestHeaders.cs (2)
113return Headers.Get<ContentDispositionHeaderValue>(HeaderNames.ContentDisposition); 117Headers.Set(HeaderNames.ContentDisposition, value);
ResponseHeaders.cs (2)
53return Headers.Get<ContentDispositionHeaderValue>(HeaderNames.ContentDisposition); 57Headers.Set(HeaderNames.ContentDisposition, value);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
HeaderDictionaryTypeExtensionsTest.cs (1)
61var result = context.Request.GetTypedHeaders().Get<ContentDispositionHeaderValue>(HeaderNames.ContentDisposition);
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
71StringValues ContentDisposition { get => this[HeaderNames.ContentDisposition]; set => this[HeaderNames.ContentDisposition] = value; }
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingOptions.cs (1)
78HeaderNames.ContentDisposition,
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
417HeaderNames.ContentDisposition,
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
304HeaderNames.ContentDisposition, 1976if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value)) 1985SetValueUnknown(HeaderNames.ContentDisposition, value); 10070if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value)) 10079ValidateHeaderValueCharacters(HeaderNames.ContentDisposition, value, EncodingSelector); 10080SetValueUnknown(HeaderNames.ContentDisposition, value); 15983if (!TryGetUnknown(HeaderNames.ContentDisposition, ref value)) 15992ValidateHeaderValueCharacters(HeaderNames.ContentDisposition, value, EncodingSelector); 15993SetValueUnknown(HeaderNames.ContentDisposition, value);
Microsoft.AspNetCore.WebUtilities (1)
MultipartSection.cs (1)
36if (Headers != null && Headers.TryGetValue(HeaderNames.ContentDisposition, out var values))