Skip to content

Commit 838e8ff

Browse files
committed
Removing text/plain from xml content list
1 parent c37132f commit 838e8ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-lib/dku_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def extract_key_using_json_path(json_dictionary, json_path):
105105
def is_reponse_xml(response):
106106
content_types = response.headers.get("Content-Type", "").split(";")
107107
for content_type in content_types:
108-
if content_type in ["text/xml", "application/soap+xml", "text/plain", "application/xml"]:
108+
if content_type in ["text/xml", "application/soap+xml", "application/xml"]:
109109
return True
110110
return False
111111

0 commit comments

Comments
 (0)