Handle empty responses by returning an unthemed response
Responses to HEAD requests need their headers resetting.
Ensure response.app_iter.close() is always called.
Don't transform Content-Length: 0.
Empty content test belongs in XSLTMiddleware tests. Test that no headers are blanked.
Merge pull request #9 from plone/handle_empty_responses

Handle empty responses by returning an unthemed response
Preparing release 1.0.2
Back to development: 1.0.3
Don't prematurely close responses we don't transform

This currently breaks static resources served by Pyramid, or any response which is intended to be served piecemeal. I'm not entirely sure that the app_iter should be closed at all here.
Update changelog.
fix error caused by empty style tag e.g. <style/>
add to changes
Fix quoting of &quot;
Only look at nodes in the diazo namespace
Use XML IDs to match rule nodes.
XSLT to convert runtrace into human-viewable HTML
Make resultant XSL more readable
Handle if-content=""
Omit xsl namespaces from html output.
Option to output runtrace xml or html from diazorun.