Skip to content

Commit

Permalink
Add period header
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Oct 21, 2024
1 parent 43ea20b commit 1b2deaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deadlock_data_api/rate_limiter/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def next_request_in(self) -> float:
def headers(self) -> dict[str, str]:
return {
"RateLimit-Limit": str(self.limit),
"RateLimit-Period": str(self.period),
"RateLimit-Remaining": str(self.remaining),
"RateLimit-Reset": str(self.next_request_in),
"Retry-After": str(self.next_request_in),
Expand Down

0 comments on commit 1b2deaa

Please sign in to comment.