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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.2, 3.1
    • JAX-RS
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: