xsist10 / HaveIBeenPwned

PHP client for the haveibeenpwned.com API
MIT License
15 stars 8 forks source link

Add support for Rate Limiting warnings #3

Closed xsist10 closed 6 years ago

xsist10 commented 7 years ago

The HaveIBeenPwned API has rate limiting (https://haveibeenpwned.com/api/v2/#RateLimiting). This library needs to be extended to check if a response contains a retry-after header.

xsist10 commented 6 years ago

Rate-limiting was removed by Troy Hunt. Will investigate if they are re-introduced.