😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
LogicException: Tracy cannot display the Bar because the Content-Length header is being sent is reported even when sending FileResponse, eg. generating sitemap.xml.
Version: 2.9.2
Bug Description
LogicException: Tracy cannot display the Bar because the Content-Length header is being sent
is reported even when sendingFileResponse
, eg. generatingsitemap.xml
.Steps To Reproduce
Expected Behavior
No warning :)
Possible Solution
Check
Helpers::isHtmlMode()
?