method

response

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: DefaultResponseApp
response(format, body) private

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/middleware/host_authorization.rb, line 105
        def response(format, body)
          [RESPONSE_STATUS,
           { Rack::CONTENT_TYPE => "#{format}; charset=#{Response.default_charset}",
             Rack::CONTENT_LENGTH => body.bytesize.to_s },
           [body]]
        end
Register or log in to add new notes.