You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/08/27 14:38:57 UTC
[jira] [Resolved] (CXF-5974) WADLGenerator sets representation
media type to application/octet-stream by default
[ https://issues.apache.org/jira/browse/CXF-5974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-5974.
-----------------------------------
Resolution: Fixed
> WADLGenerator sets representation media type to application/octet-stream by default
> -----------------------------------------------------------------------------------
>
> Key: CXF-5974
> URL: https://issues.apache.org/jira/browse/CXF-5974
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Reporter: Sergey Beryozkin
> Assignee: Sergey Beryozkin
> Priority: Minor
> Fix For: 3.0.2, 3.1.0
>
>
> If Produces or Consumes is missing or wild-card then application/octet-stream is set which is not exactly correct because if a client provides a proper HTTP Accept in such cases then the resulting Content-Type will not necessarily be set to application/octet-stream. As such showing application/octet-stream upfront can be misleading,
> Lets use wildcard if it is wildcard and let users override it if needed
--
This message was sent by Atlassian JIRA
(v6.2#6252)