diff options
author | Erich Menge <erich.menge@me.com> | 2012-04-01 08:39:57 -0500 |
---|---|---|
committer | Erich Menge <erich.menge@me.com> | 2012-04-01 08:39:57 -0500 |
commit | 6e814ce62f8225c5f23f7a73d2896699ea99af48 (patch) | |
tree | 215091263e96a95cbadf72328f4741ad2d2459ce /actionpack/lib/action_dispatch/middleware/remote_ip.rb | |
parent | bf8c3eb55ac037afc63875a2d78ad0799f56a3cc (diff) | |
download | rails-6e814ce62f8225c5f23f7a73d2896699ea99af48.tar.gz rails-6e814ce62f8225c5f23f7a73d2896699ea99af48.tar.bz2 rails-6e814ce62f8225c5f23f7a73d2896699ea99af48.zip |
:success includes the whole 200 range, not just 200.
# File lib/rack/response.rb, line 114
114: def successful?; @status >= 200 && @status < 300; end
Diffstat (limited to 'actionpack/lib/action_dispatch/middleware/remote_ip.rb')
0 files changed, 0 insertions, 0 deletions