|
|
|
@ -120,12 +120,13 @@ public class RibbonRoutingFilter extends ZuulFilter {
@@ -120,12 +120,13 @@ public class RibbonRoutingFilter extends ZuulFilter {
|
|
|
|
|
uri = uri.replace("//", "/"); |
|
|
|
|
|
|
|
|
|
return new RibbonCommandContext(serviceId, verb, uri, retryable, headers, params, |
|
|
|
|
requestEntity, this.requestCustomizers); |
|
|
|
|
requestEntity, this.requestCustomizers, request.getContentLengthLong()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected ClientHttpResponse forward(RibbonCommandContext context) throws Exception { |
|
|
|
|
Map<String, Object> info = this.helper.debug(context.getMethod(), context.getUri(), |
|
|
|
|
context.getHeaders(), context.getParams(), context.getRequestEntity()); |
|
|
|
|
Map<String, Object> info = this.helper.debug(context.getMethod(), |
|
|
|
|
context.getUri(), context.getHeaders(), context.getParams(), |
|
|
|
|
context.getRequestEntity()); |
|
|
|
|
|
|
|
|
|
RibbonCommand command = this.ribbonCommandFactory.create(context); |
|
|
|
|
try { |
|
|
|
|