Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-122

html docs served from SVN have mime-type text/plain, so not rendered by Mozilla

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.1.2
    • None
    • Documentation
    • None
    • Mozilla browser

    Description

      Mozilla is not rendering the html docs for this project (just look at http://svn.apache.org/repos/asf/incubator/stdcxx/trunk/doc/stdlibug/1-1.html in Mozilla to see this). This is legitimate because the docs are being served from an SVN server, and all documents from such a server are supposed to have a mime-type of text/plain (i.e. instead of text/html).

      This makes viewing the docs not particularly useful (that is, unless you're using MS Exploder, which apparently has a BUG that ignores the mime-type of a document if it looks like html).

      However, there is a way to cure this problem and still serve the html docs from SVN (probably, anyway - don't know if it will actually work). That is to place the following "meta" tag in the "<head>" section of each of the html pages:

      <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/>

      Hopefully, SVN will not override this meta tag.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              harmon.nine Harmon Sequoya Nine
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: