mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-05 00:10:49 +08:00 
			
		
		
		
	changed upstream http method to use httpmethod class in .net
This commit is contained in:
		@@ -84,7 +84,10 @@ namespace Ocelot.UnitTests.Configuration
 | 
			
		||||
 | 
			
		||||
            public List<ReRoute> ReRoutes => new List<ReRoute>
 | 
			
		||||
            {
 | 
			
		||||
                new ReRouteBuilder().WithDownstreamPathTemplate(_downstreamTemplatePath).Build()
 | 
			
		||||
                new ReRouteBuilder()
 | 
			
		||||
                .WithDownstreamPathTemplate(_downstreamTemplatePath)
 | 
			
		||||
                .WithUpstreamHttpMethod("Get")
 | 
			
		||||
                .Build()
 | 
			
		||||
            };
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user