SamSaffron/MiniProfiler — pull request #92 by brianmario (2012-11-01 23:59:28+00:00)
Title: Move header overrides inside inject_js block for Rack middleware

Previously this middleware would remove HTTP caching headers for *all* responses, even ones that aren't HTML where this middleware is potentially injecting a JS script and needs the page to be fresh.

A couple of extra whitespace changes are snuck in here as well (sorry)... I can remove those from the diff if you want.