We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c3253 commit bbaa684Copy full SHA for bbaa684
tools/currency/build.xml
@@ -43,8 +43,12 @@
43
<target name="_downloadXml" unless="isLocalXml">
44
<echo message="Downloading ISO 4217 XML data files"/>
45
<mkdir dir="${xml.dir}"/>
46
- <get src="${base.url}${current.xml}" dest="${xml.dir}"/>
47
- <get src="${base.url}${historic.xml}" dest="${xml.dir}"/>
+ <get src="${base.url}${current.xml}" dest="${xml.dir}">
+ <header name="Accept" value="application/xml"/>
48
+ </get>
49
+ <get src="${base.url}${historic.xml}" dest="${xml.dir}">
50
51
52
</target>
53
54
<target name="xmlData" depends="_localXml, _downloadXml" description="Prepare necessary ISO 4217 XML data files">
0 commit comments