eth-cscs / pyfirecrest

Python wrappers for the FirecREST API
https://pyfirecrest.readthedocs.io
BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

Parse correctly the `Retry-After` header when it is of type `http-date` #118

Closed ekouts closed 2 months ago

ekouts commented 2 months ago

The Retry-After can be an integer or a date, so now we handle both cases: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Retry-After