6 implementations of Path
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1398public string Path { get; set; }
Microsoft.AspNetCore.Http (1)
Features\HttpRequestFeature.cs (1)
40public string Path { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
99string IHttpRequestFeature.Path
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
186string IHttpRequestFeature.Path
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
131string IHttpRequestFeature.Path
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
58string IHttpRequestFeature.Path
5 writes to Path
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
76set { HttpRequestFeature.Path = value.Value ?? string.Empty; }
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
56{ OwinConstants.RequestPath, new FeatureMap<IHttpRequestFeature>(feature => feature.Path, () => string.Empty, (feature, value) => feature.Path = Convert.ToString(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Owin.Tests (1)
OwinFeatureCollectionTests.cs (1)
55requestFeature.Path = "/path2";
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestTests.cs (2)
91requestInfo.Path = "/customized/Path"; 154requestInfo.Path = null;
17 references to Path
Microsoft.AspNetCore.Http (1)
Internal\DefaultHttpRequest.cs (1)
75get { return new PathString(HttpRequestFeature.Path); }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
721Path = existingRequestFeature.Path,
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
56{ OwinConstants.RequestPath, new FeatureMap<IHttpRequestFeature>(feature => feature.Path, () => string.Empty, (feature, value) => feature.Path = Convert.ToString(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Owin.Tests (1)
OwinFeatureCollectionTests.cs (1)
36Assert.Equal("/path", requestFeature.Path);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (11)
RequestTests.cs (11)
36Assert.Equal("/SomePath", requestInfo.Path); 92Assert.Equal("/customized/Path", requestInfo.Path); 155Assert.Null(requestInfo.Path); 218Assert.Equal(expectedPath, requestInfo.Path); 247Assert.Equal("/%2F", requestInfo.Path); 264Assert.Equal("/", requestInfo.Path); 316Assert.Equal(expectedPath, requestInfo.Path); 354Assert.Equal("/ !\"#$%&'()*+,-.%2F0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", requestInfo.Path); 410Assert.Equal(rawPath, requestInfo.Path); 435Assert.Equal(expectedPath, requestInfo.Path); 455Assert.Equal(expected, requestInfo.Path);
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
30Assert.Equal("/api/a%2Fb c", features.Get<IHttpRequestFeature>().Path); 80Assert.Equal("/and/file.txt", features.Get<IHttpRequestFeature>().Path);