107 references to ContentType
CodeGenerator (2)
IIS.FunctionalTests (1)
IISExpress.FunctionalTests (1)
InMemory.FunctionalTests (10)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.HeaderParsing (1)
Microsoft.AspNetCore.HeaderParsing.Tests (1)
Microsoft.AspNetCore.Http.Extensions (4)
Microsoft.AspNetCore.Http.Extensions.Tests (3)
Microsoft.AspNetCore.Http.Features (2)
Microsoft.AspNetCore.Http.Results.Tests (4)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.HttpLogging.Tests (1)
Microsoft.AspNetCore.Mvc.Core.Test (4)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OutputCaching (1)
Microsoft.AspNetCore.Rewrite (1)
Microsoft.AspNetCore.Server.HttpSys (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2259yield return HeaderNames.ContentType;
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
Microsoft.AspNetCore.Server.HttpSys.Tests (8)
Microsoft.AspNetCore.Server.IIS (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2259yield return HeaderNames.ContentType;
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
Microsoft.AspNetCore.Server.Kestrel.Core (28)
Internal\Http\HttpHeaders.Generated.cs (28)
313HeaderNames.ContentType,
3186if (ReferenceEquals(HeaderNames.ContentType, key))
3214if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
4015if (ReferenceEquals(HeaderNames.ContentType, key))
4034if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
4962if (ReferenceEquals(HeaderNames.ContentType, key))
4993if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
6069if (ReferenceEquals(HeaderNames.ContentType, key))
6100if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
7190array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _headers._ContentType);
7731nameStr = HeaderNames.ContentType;
8004nameStr = HeaderNames.ContentType;
8246nameStr = HeaderNames.ContentType;
8494_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _collection._headers._ContentType);
8861ValidateHeaderValueCharacters(HeaderNames.ContentType, value, EncodingSelector);
11264if (ReferenceEquals(HeaderNames.ContentType, key))
11274if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
11965if (ReferenceEquals(HeaderNames.ContentType, key))
11972if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
12698if (ReferenceEquals(HeaderNames.ContentType, key))
12709if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
13590if (ReferenceEquals(HeaderNames.ContentType, key))
13601if (HeaderNames.ContentType.Equals(key, StringComparison.OrdinalIgnoreCase))
14463array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _headers._ContentType);
15260_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentType, _collection._headers._ContentType);
16127if (!TryGetUnknown(HeaderNames.ContentType, ref value))
16136ValidateHeaderValueCharacters(HeaderNames.ContentType, value, EncodingSelector);
16137SetValueUnknown(HeaderNames.ContentType, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1163if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1392if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
1640if (string.Equals(key, HeaderNames.ContentType, StringComparison.OrdinalIgnoreCase))
2002if (string.Equals(key, HeaderNames.ContentType, StringComparison.Ordinal))
2259yield return HeaderNames.ContentType;
2595yield return new KeyValuePair<string, StringValues>(HeaderNames.ContentType, ContentType);
2764HttpSysRequestHeader.ContentType => HeaderNames.ContentType,
Microsoft.AspNetCore.WebUtilities (1)