billbeeio / billbee-php-sdk

🔌 The official Billbee API SDK for PHP 💻
MIT License
22 stars 25 forks source link

Retry-After-Header is Missing #82

Open Yuri-Lima opened 2 months ago

Yuri-Lima commented 2 months ago

It looks like we have a missing headers where the documents says: When you exceed the throttle threshold, the API will return a HTTP 429 status code and a Retry-After-Header indicating how many seconds you will have to wait before you can call the API again. Related to Throttling I have tried to get by response.headers['Retry-After-Header'] and response.headers['Retry-After'] and response.headers['retry-after'] and checked all response there is nothing there.

There is an issue opened here too: https://roadmap.billbee.io/feedback/162967