You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calling curl http://localhost:8080/ twice to test the rate-limit results in curl: (18) transfer closed with 42 bytes remaining to read on the second attempt.
Server-side error:
-------------------------------------------------------
Path: /
Method: GET
Content-Type null
-------------------------------------------------------
Unhandled exception:
HttpException: Content size below specified contentLength. 23 bytes written but expected 42., uri = /
Expected Behavior
API responds with rate-limit headers and an error stating the rate-limit has been reached.
Additional Context
It looks like this happens when ShelfRateLimiter tries to call response.change()
The text was updated successfully, but these errors were encountered:
Description
A clear and concise description of what the bug is.
Code Snippet
calling
curl http://localhost:8080/
twice to test the rate-limit results incurl: (18) transfer closed with 42 bytes remaining to read
on the second attempt.Server-side error:
Expected Behavior
API responds with rate-limit headers and an error stating the rate-limit has been reached.
Additional Context
It looks like this happens when
ShelfRateLimiter
tries to callresponse.change()
The text was updated successfully, but these errors were encountered: