From 0742fc909008f0ac8204a4623ac6b6dfe808cf29 Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 28 Nov 2024 22:36:19 +0300 Subject: [PATCH] RestAssured blacklisted headers support on Response --- CHANGELOG.md | 2 ++ .../restassured/ReportPortalRestAssuredLoggingFilter.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d077c8..46f85cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Changelog ## [Unreleased] +### Added +- RestAssured blacklisted headers support on Response, by @HardNorth ## [5.3.5] ### Added diff --git a/src/main/java/com/epam/reportportal/restassured/ReportPortalRestAssuredLoggingFilter.java b/src/main/java/com/epam/reportportal/restassured/ReportPortalRestAssuredLoggingFilter.java index 0f71dcc..1618554 100644 --- a/src/main/java/com/epam/reportportal/restassured/ReportPortalRestAssuredLoggingFilter.java +++ b/src/main/java/com/epam/reportportal/restassured/ReportPortalRestAssuredLoggingFilter.java @@ -187,7 +187,7 @@ public Response filter(FilterableRequestSpecification requestSpec, FilterableRes } else { emitLog(HttpEntityFactory.createHttpResponseFormatter( response, - headerConverter, + myHeaderConverter, cookieConverter, contentPrettiers, bodyTypeMap