Skip to content

Commit

Permalink
Remove (commented-out) .peek() logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
JymDyerIBI committed Oct 31, 2023
1 parent 38f19d2 commit 9e5ecdd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ private String proxyPost(Request request, Response response) {
// spark.Response#header() will duplicate rather than update, so filter out duplicates.
Arrays.stream(otpDispatcherResponse.headers)
.filter(h -> !response.raw().containsHeader(h.getName()))
//.peek(h -> LOG.info("NEW {}={}", h.getName(), h.getValue()))
.forEach(h -> response.header(h.getName(), h.getValue()));

response.status(otpDispatcherResponse.statusCode);
Expand Down

0 comments on commit 9e5ecdd

Please sign in to comment.