zendframework/ZendDeveloperTools — pull request #62 by michalswietochowski (2013-02-21 16:33:52+00:00)
Title: Display the toolbar only for a HTML response (fix)

I don't know if anyone tested it, but onCollected callback did return prematurely for valid Content-Type header so the toolbar wasn't injected.