Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5974

WADLGenerator sets representation media type to application/octet-stream by default

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.2, 3.1
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              sergey_beryozkin Sergey Beryozkin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: