Skip to content

Commit

Permalink
add application/xml as encoding format
Browse files Browse the repository at this point in the history
  • Loading branch information
hbruch committed Jul 9, 2024
1 parent a63a1d3 commit 87527c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpc/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _format_for(encodingFormat):
# FIXME this is temporary and should be replaced, e.g. by using datapackage's format metainfo
if encodingFormat == "text/csv":
return "csv"
elif encodingFormat == "text/xml":
elif encodingFormat == "text/xml" or encodingFormat == "application/xml":
return "xml"
elif encodingFormat == "application/json":
return "json"
Expand Down

0 comments on commit 87527c0

Please sign in to comment.