class Puma::App::Status
def rack_response(status, body, content_type='application/json')
def rack_response(status, body, content_type='application/json') headers = { 'content-type' => content_type, 'content-length' => body.bytesize.to_s } [status, headers, [body]] end