Skip to content

Commit a1a5b33

Browse files
committed
Add application/atom+xml to list of xml types
1 parent 7306d37 commit a1a5b33

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
@@ -125,7 +125,7 @@ def extract_key_using_json_path(json_dictionary, json_path):
125125
def is_reponse_xml(response):
126126
content_types = response.headers.get("Content-Type", "").split(";")
127127
for content_type in content_types:
128-
if content_type in ["text/xml", "application/soap+xml", "application/xml"]:
128+
if content_type in ["text/xml", "application/soap+xml", "application/xml", "application/atom+xml"]:
129129
return True
130130
return False
131131

0 commit comments

Comments
 (0)