You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/10/08 12:51:42 UTC

[jira] Closed: (SLING-1574) DefaultGetServlet does not set response content type when rendering an index file for a directory

     [ https://issues.apache.org/jira/browse/SLING-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-1574.
------------------------------------


Closes issue after bundle release.

> 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.1.0
>
>
> 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.