:success includes the whole 200 range, not just 200.
# File lib/rack/response.rb, line 114 114: def successful?; @status >= 200 && @status < 300; end
Showing
想要评论请 注册 或 登录
# File lib/rack/response.rb, line 114 114: def successful?; @status >= 200 && @status < 300; end