mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-26 14:57:47 +00:00
Forgot to match the header
This commit is contained in:
parent
3e5a4607cd
commit
ea58ccbb6a
1 changed files with 1 additions and 1 deletions
|
|
@ -295,7 +295,7 @@ Rack::Attack.throttled_response = lambda do |env|
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
### X-RateLimit headers for well-behaved clients
|
### RateLimit headers for well-behaved clients
|
||||||
|
|
||||||
While Rack::Attack's primary focus is minimizing harm from abusive clients, it
|
While Rack::Attack's primary focus is minimizing harm from abusive clients, it
|
||||||
can also be used to return rate limit data that's helpful for well-behaved clients.
|
can also be used to return rate limit data that's helpful for well-behaved clients.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue