JavaMoney / jsr354-ri-bp

Backport of the JSR 354 RI compatible with Java prior to SE8.
Other
9 stars 14 forks source link

Loading of IMF remote conversion data fails #40

Closed atsticks closed 6 years ago

atsticks commented 7 years ago

See #JavaMoney/jsr354-ri/issues/164 :

Loading of IMF conversion data actually fails (class org.javamoney.moneta.internal.loader.LoadableResource): with a default html response of "Request rejected". Interestingly calling the same URL from a browser, e.g. chrome works:

http://www.imf.org/external/np/fin/data/rms_five.aspx?tsvflag=Y

As a result the IMF and IMF-HIST rate provider fails to load because the response is a valid input stream, which unfortunately is not parsable to any conversion rates.

I did not check, if the behaviour in the backport is similar.