Hi,

If I do a get to a directory that contains an index file (eg index.hmtl) the 
content type is not set correctly, confusing some browsers.

I think this is because the StreamRenderServlet when rendering a directory 
(/dev/) includes the index resource (/dev/index.html) which arrives back at at 
the StreamRenderServlet.

However when including, the StreamRenderServlet does not set any response 
headers.

I think that the StreamRenderServlet.renderDirectory() should at least try and 
set the response headers for the included resource, ideally using the same 
mechanism as used when rendering the index resource directly (eg 
/dev/index.html)

WDYT?

Ian

Reply via email to