Merge commit 'pdcawley/master'
This commit is contained in:
commit
6231e6e4d1
@ -144,7 +144,7 @@ For example:
|
|||||||
end
|
end
|
||||||
|
|
||||||
def redirect? #:nodoc:
|
def redirect? #:nodoc:
|
||||||
response_code / 100 == 3
|
(response_code / 100).to_i == 3
|
||||||
end
|
end
|
||||||
|
|
||||||
def internal_redirect?
|
def internal_redirect?
|
||||||
|
Loading…
Reference in New Issue
Block a user