You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the Content-Lenght is set by some module for an text/html asset (think asset manager for static html files in a data directory served via standard resolver :-) ) the Content-Lenght header will be incorrect after the Toolbar is injected. This results pages in half loaded.
I don't actually need the toolbar on static pages, and i realize this only affects development environments, still I though "lets create a record of this...".
I also wonder why the Response object does not do this automatically...
When the Content-Lenght is set by some module for an text/html asset (think asset manager for static html files in a data directory served via standard resolver :-) ) the Content-Lenght header will be incorrect after the Toolbar is injected. This results pages in half loaded.
adding the following at https://github.com/zendframework/ZendDeveloperTools/blob/master/src/ZendDeveloperTools/Listener/ToolbarListener.php#L163 will solve this
I don't actually need the toolbar on static pages, and i realize this only affects development environments, still I though "lets create a record of this...".
I also wonder why the Response object does not do this automatically...
Originally posted by @basz at zendframework/zend-developer-tools#119
The text was updated successfully, but these errors were encountered: