SamSaffron/MiniProfiler — pull request #42 by D-Key (2012-04-18 22:04:41+00:00)
Title: A remedy for "headers blew up" exceptions.

Hi Sam, thanks for your work on the MiniProfiler.

The story is that I debug our web site with "brake on thrown exceptions" and it gets pretty painful, since MiniProfiler is throwing up an HttpException on every page.

We are using a bit dated version of the profiler, so it's possible that you've already fixed this, but if not - would you consider to avoid sending an empty array of IDs in the headers? This really helps to get rid of those nasty "Server cannot append header after HTTP headers have been sent." exceptions.

- D.