You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Ian Boston (JIRA)" <ji...@apache.org> on 2010/04/22 06:42:50 UTC

[jira] Created: (SLING-1496) A GET request to a directory results in a response with no content type, confusing some browsers.

A GET request to a directory results in a response with no content type, confusing some browsers.
-------------------------------------------------------------------------------------------------

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


As per http://markmail.org/thread/2kxoab4eg5sqhdz6

a request to a directory eg /dev/ which contains an index.html file results in a response with no content type.

Identified that included resources that are streamed dont set any response headers indicating that the headers must be set before the body is included.

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


[jira] Closed: (SLING-1496) A GET request to a directory results in a response with no content type, confusing some browsers.

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-1496.
------------------------------------


Closes issue after bundle release.

> A GET request to a directory results in a response with no content type, confusing some browsers.
> -------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1496
>                 URL: https://issues.apache.org/jira/browse/SLING-1496
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Get 2.0.8
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: Servlets Get 2.1.0
>
>
> As per http://markmail.org/thread/2kxoab4eg5sqhdz6
> a request to a directory eg /dev/ which contains an index.html file results in a response with no content type.
> Identified that included resources that are streamed dont set any response headers indicating that the headers must be set before the body is included.

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


[jira] Resolved: (SLING-1496) A GET request to a directory results in a response with no content type, confusing some browsers.

Posted by "Ian Boston (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-1496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Boston resolved SLING-1496.
-------------------------------

    Resolution: Fixed

Fixed.
Where a directory contains an index resource (eg index.html) the resource is inspected for properties and response headers are set prior to being included. Subsequent processing may still change the headers if required, but if it omits to do so, default headers (mainly content-type) will be there.

> A GET request to a directory results in a response with no content type, confusing some browsers.
> -------------------------------------------------------------------------------------------------
>
>                 Key: SLING-1496
>                 URL: https://issues.apache.org/jira/browse/SLING-1496
>             Project: Sling
>          Issue Type: Bug
>          Components: Servlets
>    Affects Versions: Servlets Get 2.0.8
>            Reporter: Ian Boston
>            Assignee: Ian Boston
>             Fix For: Servlets Get 2.0.10
>
>
> As per http://markmail.org/thread/2kxoab4eg5sqhdz6
> a request to a directory eg /dev/ which contains an index.html file results in a response with no content type.
> Identified that included resources that are streamed dont set any response headers indicating that the headers must be set before the body is included.

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