Methods
B
Constants
HEADERS = Rack::Utils::HeaderHash.new 'Content-Type' => 'text/html'
 
Attributes
[RW] app
Instance Public methods
build_app(headers: {}, ssl_options: {})
# File actionpack/test/dispatch/ssl_test.rb, line 8
def build_app(headers: {}, ssl_options: {})
  headers = HEADERS.merge(headers)
  ActionDispatch::SSL.new lambda { |env| [200, headers, []] }, ssl_options.reverse_merge(hsts: { subdomains: true })
end