Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1496

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Get 2.0.8
    • Servlets Get 2.1.0
    • Servlets
    • None

    Description

      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.

      Attachments

        Activity

          People

            ianeboston Ian Boston
            ianeboston Ian Boston
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: