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

AsyncResponse doesn't use 204 when body is empty

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.5
    • 3.1.6, 3.0.9, 3.2.0
    • JAX-RS
    • None
    • Unknown

    Description

      Hi

      shouldn't org.apache.cxf.jaxrs.impl.AsyncResponseImpl#getResponseObject check if the payload is empty and if so use 204 instead of 200 (ok())?

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: