From a7fe15dfdf90ac9c911fea1531c18251f55897db Mon Sep 17 00:00:00 2001 From: Stefan Seifert Date: Wed, 3 Jul 2024 13:58:44 +0200 Subject: [PATCH] Dynamic Media with OpenAPI: Remove experimental HTTP header for metadata request from default configuration. (#55) --- changes.xml | 3 +++ .../impl/metadata/NextGenDynamicMediaMetadataServiceImpl.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/changes.xml b/changes.xml index daea93de..93c29a10 100644 --- a/changes.xml +++ b/changes.xml @@ -33,6 +33,9 @@ Dynamic Media with OpenAPI: Remove experimental URL parameters from default configuration. + + Dynamic Media with OpenAPI: Remove experimental HTTP header for metadata request from default configuration. + Dynamic Media with OpenAPI: Prefer named smart crops over auto-cropped smart renditions. diff --git a/src/main/java/io/wcm/handler/mediasource/ngdm/impl/metadata/NextGenDynamicMediaMetadataServiceImpl.java b/src/main/java/io/wcm/handler/mediasource/ngdm/impl/metadata/NextGenDynamicMediaMetadataServiceImpl.java index c883d162..111484e9 100644 --- a/src/main/java/io/wcm/handler/mediasource/ngdm/impl/metadata/NextGenDynamicMediaMetadataServiceImpl.java +++ b/src/main/java/io/wcm/handler/mediasource/ngdm/impl/metadata/NextGenDynamicMediaMetadataServiceImpl.java @@ -72,7 +72,7 @@ public class NextGenDynamicMediaMetadataServiceImpl implements NextGenDynamicMed name = "HTTP Headers", description = "HTTP headers to be send with the asset metadata request. " + "Format: 'header1:value1'.") - String[] httpHeaders() default { "X-Adobe-Accept-Experimental:1" }; + String[] httpHeaders(); @AttributeDefinition( name = "Connect Timeout",