No documentation

This class has no description. You can help the Ruby on Rails community by adding new notes.

Constants

LOCALHOST = [/^127\.0\.0\.\d{1,3}$/, "::1", /^0:0:0:0:0:0:0:1(%.*)?$/].freeze

HTTP_METHODS = %w(get head put post delete options)

HTTP_METHOD_LOOKUP = HTTP_METHODS.inject({}) { |h, m| h[m] = h[m.upcase] = m.to_sym;

TRUSTED_PROXIES = /^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\./i

Attributes

Show files where this class is defined (3 files)
Register or log in to add new notes.