DefaultGetServlet does not set response content type when rendering an index 
file for a directory
-------------------------------------------------------------------------------------------------

                 Key: SLING-1574
                 URL: https://issues.apache.org/jira/browse/SLING-1574
             Project: Sling
          Issue Type: Bug
          Components: Servlets
    Affects Versions: Servlets Get 2.0.8
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: Servlets Get 2.0.10


When generating the response to a directory (trailing slash in the request 
URL), the default GET servlet checks whether one of a configured list of index 
files exists. If such a file exists it is returned. This mechanism, though, 
fails to set the response content type because the index file is included in 
the request and included request handling does not (always) set the response 
content type.

This is particulary the case if the file to include is a file to be spooled 
back by the Default GET servlet itself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to