MiniProfiler / rack-mini-profiler

Profiler for your development and production Ruby rack apps.
MIT License
3.69k stars 401 forks source link

Supply rack-mini-profiler options via HTTP header #557

Closed nate-at-gusto closed 6 months ago

nate-at-gusto commented 1 year ago

Sometimes we don't control the query parameters being sent to the Rails server, but we can control HTTP headers (redirects, GraphQL gateways). In these cases, it would be helpful if rackminiprofiler's pp query parameter options could be passed via a HTTP header like X-Rack-Mini-Profiler.

nate-at-gusto commented 6 months ago

Added in 3.2