Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1282

Assets should be streamed with an appropriate content type, even when the container is unable to provide the content type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.3
    • tapestry-core
    • None

    Description

      In ResourceStreamerImpl#streamResource(Resource), the content type returned for Tapestry's default CSS file is "content/unknown". However, when using a strict HTML 4 doctype, Firefox does not use the CSS rules defined in the file unless the content type is "text/css".

      Attachments

        1. css-content-type.patch
          0.6 kB
          Daniel Gredler
        2. css-content-type-2.patch
          7 kB
          Daniel Gredler
        3. test.gif
          3 kB
          Daniel Gredler

        Activity

          People

            hlship Howard Lewis Ship
            sdanig Daniel Gredler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: