mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:30:49 +08:00 
			
		
		
		
	fix HttpRequesterMiddleware does not call next bug (#830)
call next so that we can do something with the response, such as add some custom header etc...
This commit is contained in:
		
				
					committed by
					
						
						Thiago Loureiro
					
				
			
			
				
	
			
			
			
						parent
						
							e281f1b3fb
						
					
				
				
					commit
					e46467ae3c
				
			@@ -33,6 +33,8 @@ namespace Ocelot.Requester.Middleware
 | 
			
		||||
            Logger.LogDebug("setting http response message");
 | 
			
		||||
 | 
			
		||||
            context.DownstreamResponse = new DownstreamResponse(response.Data);
 | 
			
		||||
 | 
			
		||||
            await _next.Invoke(context);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user