Originally posted by **mivade** December 20, 2021
[RFC 6585](https://datatracker.ietf.org/doc/html/rfc6585) describes the 429 status code to indicate hitting rate limits. This type of response may include a `Retry-After` header indicating the time in seconds to wait before trying again. Naively I would expect to be able to define my own backoff function to parse this header and yield that value to indicate how long to wait, but it looks like backoff functions have no knowledge of the response itself. Is there a way to get this functionality?
Discussed in https://github.com/prkumar/uplink/discussions/235