62 references to Pragma
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
114HeaderNames.Pragma,
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgery.cs (1)
381if (responseHeaders.TryGetValue(HeaderNames.Pragma, out var pragmaHeader) && pragmaHeader.Count > 0)
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
170StringValues Pragma { get => this[HeaderNames.Pragma]; set => this[HeaderNames.Pragma] = value; }
Microsoft.AspNetCore.Mvc.Core (1)
Filters\ResponseCacheFilterExecutor.cs (1)
74headers.Remove(HeaderNames.Pragma);
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
447HeaderNames.Pragma,
Microsoft.AspNetCore.Server.HttpSys (10)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
681|| response.Headers.ContainsKey(HeaderNames.Pragma))
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
27HeaderNames.Pragma,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 2319yield return HeaderNames.Pragma; 2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma); 2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestHeaderTests.cs (1)
291yield return (HttpSysRequestHeader.Pragma, HeaderNames.Pragma);
Microsoft.AspNetCore.Server.IIS (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
27HeaderNames.Pragma,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 2319yield return HeaderNames.Pragma; 2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma); 2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,
Microsoft.AspNetCore.Server.Kestrel.Core (26)
Internal\Http\HttpHeaders.Generated.cs (26)
339HeaderNames.Pragma, 2778if (ReferenceEquals(HeaderNames.Pragma, key)) 2824if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 3733if (ReferenceEquals(HeaderNames.Pragma, key)) 3764if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 4512if (ReferenceEquals(HeaderNames.Pragma, key)) 4563if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 5619if (ReferenceEquals(HeaderNames.Pragma, key)) 5670if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 7343array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _headers._Pragma); 7605nameStr = HeaderNames.Pragma; 8579_current = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _collection._headers._Pragma); 9589ValidateHeaderValueCharacters(HeaderNames.Pragma, value, EncodingSelector); 11014if (ReferenceEquals(HeaderNames.Pragma, key)) 11033if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 11785if (ReferenceEquals(HeaderNames.Pragma, key)) 11799if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 12418if (ReferenceEquals(HeaderNames.Pragma, key)) 12440if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 13310if (ReferenceEquals(HeaderNames.Pragma, key)) 13332if (HeaderNames.Pragma.Equals(key, StringComparison.OrdinalIgnoreCase)) 14688array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _headers._Pragma); 15410_current = new KeyValuePair<string, StringValues>(HeaderNames.Pragma, _collection._headers._Pragma); 16523if (!TryGetUnknown(HeaderNames.Pragma, ref value)) 16532ValidateHeaderValueCharacters(HeaderNames.Pragma, value, EncodingSelector); 16533SetValueUnknown(HeaderNames.Pragma, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
114HeaderNames.Pragma,
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\NativeInterop\HttpApiTypes.cs (1)
27HeaderNames.Pragma,
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
29HeaderNames.CacheControl, HeaderNames.Expect, HeaderNames.MaxForwards, HeaderNames.Pragma, HeaderNames.Range, HeaderNames.TE,
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1099if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1315if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1563if (string.Equals(key, HeaderNames.Pragma, StringComparison.OrdinalIgnoreCase)) 1860if (string.Equals(key, HeaderNames.Pragma, StringComparison.Ordinal)) 2319yield return HeaderNames.Pragma; 2655yield return new KeyValuePair<string, StringValues>(HeaderNames.Pragma, Pragma); 2779HttpSysRequestHeader.Pragma => HeaderNames.Pragma,