From 8a281fca1f05a18885f0efd7d3bca0df3d28552b Mon Sep 17 00:00:00 2001 From: Vadzim Hushchanskou Date: Thu, 28 Nov 2024 16:11:14 +0300 Subject: [PATCH] Add more known types --- .../java/com/epam/reportportal/utils/http/ContentType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/epam/reportportal/utils/http/ContentType.java b/src/main/java/com/epam/reportportal/utils/http/ContentType.java index 100b7222..38ae6697 100644 --- a/src/main/java/com/epam/reportportal/utils/http/ContentType.java +++ b/src/main/java/com/epam/reportportal/utils/http/ContentType.java @@ -75,7 +75,8 @@ public class ContentType { public static final String TEXT_HTML = "text/html"; public static final String TEXT_XML = "text/xml"; public static final String TEXT_JSON = "text/json"; - public static final String RP_JSON = "x-reportportal-entity-v2+json"; + public static final String RP_JSON_ITEM = "application/x.reportportal.test.v2+json"; + public static final String RP_JSON_LAUNCH = "application/x.reportportal.launch.v2+json"; // Form types public static final String APPLICATION_FORM_URLENCODED = "application/x-www-form-urlencoded";