diff --git a/CHANGELOG.md b/CHANGELOG.md index da09f38..55ab9e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [Version 1.2.4](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.4) - Feature release - 2025-02-18 + +- Fix xml decoding for content type application/rss+xml + ## [Version 1.2.3](https://github.com/dataiku/dss-plugin-api-connect/releases/tag/v1.2.3) - Feature and bugfix release - 2024-11-25 - Fix xml decoding for content type application/atom+xml diff --git a/plugin.json b/plugin.json index f8b3ef3..04febb9 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,6 @@ { "id": "api-connect", - "version": "1.2.3", + "version": "1.2.4", "meta": { "label": "API Connect", "description": "Retrieve data from any REST API", diff --git a/python-lib/dku_constants.py b/python-lib/dku_constants.py index 54857c8..2145371 100644 --- a/python-lib/dku_constants.py +++ b/python-lib/dku_constants.py @@ -2,6 +2,6 @@ class DKUConstants(object): API_RESPONSE_KEY = "api_response" FORBIDDEN_KEYS = ["token", "password", "api_key_value", "secure_token"] FORM_DATA_BODY_FORMAT = "FORM_DATA" - PLUGIN_VERSION = "1.2.3" + PLUGIN_VERSION = "1.2.4" RAW_BODY_FORMAT = "RAW" REPONSE_ERROR_KEY = "dku_error" diff --git a/python-lib/dku_utils.py b/python-lib/dku_utils.py index 834b2af..f9750d8 100644 --- a/python-lib/dku_utils.py +++ b/python-lib/dku_utils.py @@ -126,7 +126,7 @@ def extract_key_using_json_path(json_dictionary, json_path): def is_reponse_xml(response): content_types = response.headers.get("Content-Type", "").split(";") for content_type in content_types: - if content_type in ["text/xml", "application/soap+xml", "application/xml", "application/atom+xml"]: + if content_type in ["text/xml", "application/soap+xml", "application/xml", "application/atom+xml", "application/rss+xml"]: return True return False