Wireshark-bugs: [Wireshark-bugs] [Bug 7586] New: Incorrect content-type for optimized javascript

Date: Mon, 6 Aug 2012 09:46:01 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7586

           Summary: Incorrect content-type for optimized javascript pages
           Product: Web sites
           Version: N/A
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Main site - www.wireshark.org
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: jmayer@xxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
While the contens of /js/ seem to have the correct content type of
text/javascript, the optimized javascript pages are delivered with
application/javascript:

Request:

GET
/js/aptimized-js-F8BDA6DE86472C2A6BC38314A26CF898-MzUyUOZS1s8q1i$OSCxK9ctMTtXLKtYrSExPLS5ITU3RA$LLgxxLg52ySqPSgVIA-ff40c45b.js
HTTP/1.1
Host: www.wireshark.org
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/534.34 (KHTML, like
Gecko) konqueror/4.9.0 Safari/534.34
Referer: http://www.wireshark.org/
Accept: */*
Accept-Encoding: gzip, deflate, x-gzip, x-deflate
Accept-Charset: utf-8,*;q=0.5
Accept-Language: en-US,en;q=0.9
Cookie: ln_sess=451973809869;
__utma=87653150.554675386.1311022623.1343936293.1344262857.37; __utmc=87653150;
__utmz=87653150.1342465711.31.3.utmcsr=scan.coverity.com|utmccn=(referral)|utmcmd=referral|utmcct=/all-projects.html;
ln_c=1344262867294%2C/download.html%2C1
DNT: 1

Response:

HTTP/1.1 200 OK
Vary: Accept-Encoding
Cache-Control: public
Content-Type: application/javascript
Content-Encoding: deflate
Date: Mon, 06 Aug 2012 16:13:56 GMT
Keep-Alive: timeout=60
Expires: Tue, 06 Aug 2013 16:13:56 GMT
ETag: "c9b1deaa8b67a47a186d97d016620b8a"
Connection: keep-alive
Content-Length: 1774

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.