Skip to content

Commit db063b0

Browse files
committed
Support FileRoute.UpstreamHttpMethod IBC
1 parent 0e77ab2 commit db063b0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/AcceptanceSteps.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ protected static FileRoute GivenRoute(int port, string? upstream = null, string?
6464
r.DownstreamHostAndPorts.Add(Localhost(port));
6565
r.DownstreamPathTemplate = downstream ?? "/";
6666
r.DownstreamScheme = Uri.UriSchemeHttp;
67-
r.UpstreamHttpMethod.Add(HttpMethods.Get);
6867
r.UpstreamPathTemplate = upstream ?? "/";
68+
IList<string> uhmList = r.UpstreamHttpMethod;
69+
uhmList.Add(HttpMethods.Get);
6970
return r;
7071
}
7172

src/Ocelot.Testing.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<IncludeSymbols>True</IncludeSymbols>
99
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1010
<!--Package properties-->
11-
<Version>24.0.2-beta.1</Version>
11+
<Version>24.0.2-beta.2</Version>
1212
<PackageId>Ocelot.Testing</PackageId>
1313
<PackageDescription>A shared library for testing the Ocelot core library and its extension packages, including both acceptance and unit tests</PackageDescription>
1414
<PackageReleaseNotes>https://github.com/ThreeMammals/Ocelot.Testing/releases</PackageReleaseNotes>

0 commit comments

Comments
 (0)