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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.3
    • Component/s: tapestry-core
    • Labels:
      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".

      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

        No work has yet been logged on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Daniel Gredler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development