Skip to content

Commit bbaa684

Browse files
yumaokamarkusicu
authored andcommitted
ICU-22411 Fixed a ISO currency data file download problem in the currency update checking tool
1 parent 40c3253 commit bbaa684

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tools/currency/build.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,12 @@
4343
<target name="_downloadXml" unless="isLocalXml">
4444
<echo message="Downloading ISO 4217 XML data files"/>
4545
<mkdir dir="${xml.dir}"/>
46-
<get src="${base.url}${current.xml}" dest="${xml.dir}"/>
47-
<get src="${base.url}${historic.xml}" dest="${xml.dir}"/>
46+
<get src="${base.url}${current.xml}" dest="${xml.dir}">
47+
<header name="Accept" value="application/xml"/>
48+
</get>
49+
<get src="${base.url}${historic.xml}" dest="${xml.dir}">
50+
<header name="Accept" value="application/xml"/>
51+
</get>
4852
</target>
4953

5054
<target name="xmlData" depends="_localXml, _downloadXml" description="Prepare necessary ISO 4217 XML data files">

0 commit comments

Comments
 (0)