pandaapo commented on code in PR #4023:
URL: https://github.com/apache/shenyu/pull/4023#discussion_r984285437
##########
shenyu-plugin/shenyu-plugin-request/src/main/java/org/apache/shenyu/plugin/request/RequestPlugin.java:
##########
@@ -93,8 +93,8 @@ public String named() {
private void setHeaders(final HttpHeaders headers, final ServerHttpRequest
request, final RequestHandle requestHandle) {
List<HttpCookie> cookies = getCookies(request,
requestHandle).values().stream()
.flatMap(Collection::stream).collect(Collectors.toList());
+ headers.remove(HttpHeaders.COOKIE);
Review Comment:
When the cookies all be removed in `getCookies(, )`, it should be updated
here too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]