# File lib/rack/perftools_profiler/profiler_middleware.rb, line 46 def profiler_data_response(profiling_data) format, body = profiling_data body = Array(body) if format==:none message = 'No profiling data available. Visit /__stop__ and then visit /__data__' [404, {'Content-Type' => 'text/plain'}, [message]] else [200, headers(format, body), Array(body)] end end