6 implementations of Referer
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
830public StringValues Referer
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
830public StringValues Referer
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http\HttpHeaders.Generated.cs (3)
1492StringValues IHeaderDictionary.Referer 10461StringValues IHeaderDictionary.Referer 16608StringValues IHeaderDictionary.Referer
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (1)
830public StringValues Referer
15 writes to Referer
Microsoft.AspNetCore.Http.Extensions.Tests (14)
RequestDelegateFactoryTests.cs (2)
692httpContext.Request.Headers.Referer = "https://example.org"; 1667httpContext.Request.Headers.Referer = "https://example.org";
RequestDelegateGenerator\RequestDelegateCreationTests.AsParameters.cs (1)
340httpContext.Request.Headers.Referer = uriValue;
RequestDelegateGenerator\RequestDelegateCreationTests.BindAsync.cs (6)
57httpContext.Request.Headers.Referer = "https://example.org"; 78httpContext.Request.Headers.Referer = "https://example.org"; 178httpContext.Request.Headers.Referer = "https://example.org"; 195httpContext.Request.Headers.Referer = "https://example.org"; 233httpContext.Request.Headers.Referer = "https://example.org"; 289httpContext.Request.Headers.Referer = "https://example.org";
RequestDelegateGenerator\RequestDelegateCreationTests.cs (5)
436httpContext.Request.Headers.Referer = "https://example.org"; 462httpContext.Request.Headers.Referer = "https://example.org"; 509httpContext.Request.Headers.Referer = "https://example.org"; 534httpContext.Request.Headers.Referer = "https://example.org"; 559httpContext.Request.Headers.Referer = "https://example.org";
Microsoft.AspNetCore.Rewrite.Tests (1)
IISUrlRewrite\ServerVariableTests.cs (1)
147context.Request.Headers.Referer = "referer";
30 references to Referer
Microsoft.AspNetCore.Http.Extensions (1)
RequestHeaders.cs (1)
338if (Uri.TryCreate(Headers.Referer, UriKind.RelativeOrAbsolute, out var uri))
Microsoft.AspNetCore.Http.Extensions.Tests (19)
RequestDelegateFactoryTests.cs (9)
420if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 441if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 457if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 480if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 498if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 514if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 533if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 546if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 564if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
RequestDelegateGenerator\SharedTypes.cs (10)
226if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 253if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 278if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 305if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 322if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 338if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 359if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 392if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 426if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 450if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))
Microsoft.AspNetCore.Http.Microbenchmarks (10)
src\Http\Http.Extensions\test\RequestDelegateGenerator\SharedTypes.cs (10)
226if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 253if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 278if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 305if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 322if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 338if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 359if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 392if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 426if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri)) 450if (!Uri.TryCreate(context.Request.Headers.Referer, UriKind.Absolute, out var uri))