class

ActionDispatch::Request

v3.0.9 - Show latest stable - Superclass: Rack::Request

No documentation available for this class.

Included modules

  • ActionDispatch::Http::Cache::Request
  • ActionDispatch::Http::FilterParameters
  • ActionDispatch::Http::MimeNegotiation
  • ActionDispatch::Http::Parameters
  • ActionDispatch::Http::URL
  • ActionDispatch::Http::Upload

Constants

HTTP_METHODS = RFC2616 + RFC2518 + RFC3253 + RFC3648 + RFC3744 + RFC5323 + RFC5789

HTTP_METHOD_LOOKUP = Hash.new { |h, m| h[m] = m.underscore.to_sym if HTTP_METHODS.include?(m) }

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

RFC2518 = %w(PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK)

RFC2616 = %w(OPTIONS GET HEAD POST PUT DELETE TRACE CONNECT)

RFC3253 = %w(VERSION-CONTROL REPORT CHECKOUT CHECKIN UNCHECKOUT MKWORKSPACE UPDATE LABEL MERGE BASELINE-CONTROL MKACTIVITY)

RFC3648 = %w(ORDERPATCH)

RFC3744 = %w(ACL)

RFC5323 = %w(SEARCH)

RFC5789 = %w(PATCH)

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

Files

  • actionpack/lib/action_dispatch/http/request.rb
  • actionpack/lib/action_dispatch/middleware/cookies.rb
  • actionpack/lib/action_dispatch/middleware/flash.rb