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] [Created] (CXF-5974) WADLGenerator sets representation media type to application/octet-stream by default
Date Wed, 27 Aug 2014 12:30:57 GMT
Sergey Beryozkin created CXF-5974:
-------------------------------------

             Summary: 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