cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-5021) Static resources need the "application/javascript" content type for javascript files
Date Wed, 22 May 2013 21:54:20 GMT

     [ https://issues.apache.org/jira/browse/CXF-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-5021.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.0
                   2.7.6
                   2.6.9
         Assignee: Sergey Beryozkin

Custom cxfServletStaticResourcesMap.txt file can be used to further customize the mapping
                
> Static resources need the "application/javascript" content type for javascript files
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-5021
>                 URL: https://issues.apache.org/jira/browse/CXF-5021
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.5
>            Reporter: Raúl Recacha
>            Assignee: Sergey Beryozkin
>            Priority: Minor
>             Fix For: 2.6.9, 2.7.6, 3.0.0
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> The static block of AbstractHTTPServlet (org.apache.cxf.transport.servlet.AbstractHTTPServlet)
needs more content types, specifically for javascript files: 
> STATIC_CONTENT_TYPES.put("js", "application/javascript");

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message