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-5974) WADLGenerator sets representation media type to application/octet-stream by default
Date Wed, 27 Aug 2014 12:38:57 GMT

     [ 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)

Mime
View raw message