When the service returns an HTTP 403/Forbidden response, the SDK throws a confusing QuotaExceededException. To differentiate between being throttled versus a connection string not authorizing the user, the behavior has been updated so we only throw the QuotaExceededException when the response contains the Retry-After header.
Things to consider before you submit the PR:
[X] Are tests passing locally?
[X] Are the files formatted correctly?
[X] Did you add unit tests?
[X] Did you test your change with either the sample apps that are included in the repository or with a blank app that uses your change?
Fixes #224
When the service returns an HTTP 403/Forbidden response, the SDK throws a confusing QuotaExceededException. To differentiate between being throttled versus a connection string not authorizing the user, the behavior has been updated so we only throw the QuotaExceededException when the response contains the Retry-After header.
Things to consider before you submit the PR: