Update readme

This commit is contained in:
Carsten Zimmermann 2014-02-06 21:35:28 +01:00
parent 97a43f7e66
commit 355a6fbce6

View file

@ -198,7 +198,7 @@ Customize the response of blacklisted and throttled requests using an object tha
```ruby
Rack::Attack.blacklisted_response = lambda do |env|
# Using 503 because it may make attacker think that they have successfully
# DOSed the site. Rack::Attack returns 401 for blacklists by default
# DOSed the site. Rack::Attack returns 403 for blacklists by default
[ 503, {}, ['Blocked']]
end