17 references to XRequestedWith
Microsoft.AspNetCore.Authentication.Cookies (1)
CookieAuthenticationEvents.cs (1)
107return string.Equals(request.Query[HeaderNames.XRequestedWith], "XMLHttpRequest", StringComparison.Ordinal) ||
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
269StringValues XRequestedWith { get => this[HeaderNames.XRequestedWith]; set => this[HeaderNames.XRequestedWith] = value; }
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingOptions.cs (1)
58HeaderNames.XRequestedWith,
Microsoft.AspNetCore.Identity.InMemory.Test (1)
FunctionalTest.cs (1)
437request.Headers.Add(HeaderNames.XRequestedWith, "XMLHttpRequest");
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
469HeaderNames.XRequestedWith,
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
372HeaderNames.XRequestedWith, 2537if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value)) 2546SetValueUnknown(HeaderNames.XRequestedWith, value); 10790if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value)) 10799ValidateHeaderValueCharacters(HeaderNames.XRequestedWith, value, EncodingSelector); 10800SetValueUnknown(HeaderNames.XRequestedWith, value); 17117if (!TryGetUnknown(HeaderNames.XRequestedWith, ref value)) 17126ValidateHeaderValueCharacters(HeaderNames.XRequestedWith, value, EncodingSelector); 17127SetValueUnknown(HeaderNames.XRequestedWith, value);
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HttpConnectionTests.Transport.cs (1)
167var requestedWithHeader = request.Headers.GetValues(HeaderNames.XRequestedWith);
Microsoft.AspNetCore.SignalR.Tests (1)
WebSocketsTransportTests.cs (1)
143await webSocketsTransport.Output.WriteAsync(Encoding.UTF8.GetBytes(HeaderNames.XRequestedWith));