java-stellar-sdk
java-stellar-sdk copied to clipboard
Avoid to have unexpected exception on status code 429 TooManyRequests
Some horizon instances do not populate the Retry-After header (horizon.stellar.org for example). The SDK assumes this header will be present and then throw NumberFormatException instead of the TooManyRequestsException.
This also affect dotnet and maybe other SDKs like flutter.