forked from OpenFeign/feign
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse Retry-After header responses that include decimal points (OpenF…
…eign#980) rfc7231 section 7.1.3 states that the Retry-After header can return delay-seconds value that is a non-negative decimal integer, representing time in seconds. Some servers return the second delay with a decimal point. Eg instead of 2 they return 2.0 This patch handles this case where the server has included a decimal point in their response.
- Loading branch information
Showing
2 changed files
with
23 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters