What is the logic behind X-Ratelimit-Reset?

Please see Strange error returned and missing return header - #2 by amandus
It depends on the time you used your quota again.

The safest way would be to depend on the http code. As i’m still unsure, whether the Header will act up again -.-

Best regards