6 implementations of RawTarget
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1406public string RawTarget { get; set; }
Microsoft.AspNetCore.Http (1)
Features\HttpRequestFeature.cs (1)
46public string RawTarget { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
111string IHttpRequestFeature.RawTarget
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
222string IHttpRequestFeature.RawTarget
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
143string IHttpRequestFeature.RawTarget
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
70string IHttpRequestFeature.RawTarget
2 writes to RawTarget
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestTests.cs (2)
95requestInfo.RawTarget = "/customized/raw?Target"; 158requestInfo.RawTarget = null;
22 references to RawTarget
InMemory.FunctionalTests (11)
Http2\Http2StreamTests.cs (2)
362context.Response.Headers["rawtarget"] = context.Features.Get<IHttpRequestFeature>().RawTarget; 407Assert.Equal(input, context.Features.Get<IHttpRequestFeature>().RawTarget);
Http2\Http2TestBase.cs (3)
194_receivedRequestFields.RawTarget = context.Features.Get<IHttpRequestFeature>().RawTarget; 221_receivedRequestFields.RawTarget = context.Features.Get<IHttpRequestFeature>().RawTarget; 373context.Response.Headers["rawtarget"] = context.Features.Get<IHttpRequestFeature>().RawTarget;
Http3\Http3StreamTests.cs (2)
210context.Response.Headers["rawtarget"] = context.Features.Get<IHttpRequestFeature>().RawTarget; 244Assert.Equal(input, context.Features.Get<IHttpRequestFeature>().RawTarget);
Http3\Http3TestBase.cs (1)
104context.Response.Headers["rawtarget"] = context.Features.Get<IHttpRequestFeature>().RawTarget;
RequestTargetProcessingTests.cs (2)
69Assert.Equal(requestTarget, context.Features.Get<IHttpRequestFeature>().RawTarget); 101Assert.Equal(requestTarget, context.Features.Get<IHttpRequestFeature>().RawTarget);
RequestTests.cs (1)
239rawTargetTcs.TrySetResult(context.Features.Get<IHttpRequestFeature>().RawTarget);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
724RawTarget = existingRequestFeature.RawTarget
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (10)
RequestTests.cs (10)
38Assert.Equal("/basepath/SomePath?SomeQuery", requestInfo.RawTarget); 96Assert.Equal("/customized/raw?Target", requestInfo.RawTarget); 159Assert.Null(requestInfo.RawTarget); 221Assert.Equal(requestPath, requestInfo.RawTarget); 248Assert.Equal("/%252F", requestInfo.RawTarget); 318Assert.Equal(requestPath, requestInfo.RawTarget); 352Assert.Equal(rawPath, requestInfo.RawTarget); 409Assert.Equal(rawPath, requestInfo.RawTarget); 433Assert.Equal(input, requestInfo.RawTarget); 454Assert.Equal(input, requestInfo.RawTarget);