Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-627

Incorrect HTTP Content-Type header for binary artifacts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      Using the default Winstone Servlet Engine, Hudson returns a HTTP Content-Type
      header of "text/html;charset=UTF-8" for all files. This causes a problem when
      downloading binary artifacts from either archived artifacts or the workspace:
      the browser displays the files' contents inline instead of prompting a Save As
      dialog. (This occurs on Firefox 2.0, but not IE7.)

      Ideally, the MIME type of the artifacts should be auto-detected, and set within
      the Content-Type header.

            Unassigned Unassigned
            kianwin kianwin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: