Method: ActionDispatch::Response.create
- Defined in:
- actionpack/lib/action_dispatch/http/response.rb
.create(status = 200, headers = {}, body = [], default_headers: self.default_headers) ⇒ Object
159 160 161 162 |
# File 'actionpack/lib/action_dispatch/http/response.rb', line 159 def self.create(status = 200, headers = {}, body = [], default_headers: self.default_headers) headers = merge_default_headers(headers, default_headers) new status, headers, body end |