6 implementations of Path
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1402public 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)
188string IHttpRequestFeature.Path
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
132string 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)
413{ 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)
84requestInfo.Path = "/customized/Path"; 147requestInfo.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)
413{ 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)
34Assert.Equal("/SomePath", requestInfo.Path); 85Assert.Equal("/customized/Path", requestInfo.Path); 148Assert.Null(requestInfo.Path); 211Assert.Equal(expectedPath, requestInfo.Path); 240Assert.Equal("/%2F", requestInfo.Path); 257Assert.Equal("/", requestInfo.Path); 309Assert.Equal(expectedPath, requestInfo.Path); 347Assert.Equal("/ !\"#$%&'()*+,-.%2F0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~", requestInfo.Path); 403Assert.Equal(rawPath, requestInfo.Path); 428Assert.Equal(expectedPath, requestInfo.Path); 448Assert.Equal(expected, requestInfo.Path);
Microsoft.AspNetCore.TestHost.Tests (2)
ClientHandlerTests.cs (2)
31Assert.Equal("/api/a%2Fb c", features.Get<IHttpRequestFeature>().Path); 81Assert.Equal("/and/file.txt", features.Get<IHttpRequestFeature>().Path);