Class
Rack::Cors::Resource
In:
lib/rack/cors.rb
Parent:
Object
Methods
allow_headers?
compile
ensure_enum
invalid_headers_request?
invalid_method_request?
match?
new
origin_for_response_header
process_preflight
public_resource?
to_headers
to_preflight_headers
Attributes
credentials
[RW]
expose
[RW]
headers
[RW]
max_age
[RW]
methods
[RW]
path
[RW]
pattern
[RW]
Public Class methods
new
(public_resource, path, opts={})
Public Instance methods
match?
(path)
process_preflight
(env)
to_headers
(env)
Protected Instance methods
allow_headers?
(request_headers)
compile
(path)
ensure_enum
(v)
invalid_headers_request?
(env)
invalid_method_request?
(env)
origin_for_response_header
(origin)
public_resource?
()
to_preflight_headers
(env)
[Validate]