Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3743

APEX-PDP RestClient reports failure when response code!=200

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Jakarta Release
    • Guilin Release, Honolulu Release, Istanbul Release
    • None

      APEX-PDP RestClient producer considers only 200 response code as success. Everything else is reported as failure.

      But this is wrong. 202/204 etc. are other common success response codes which shouldn't be reported as a failure.

      The fix will be to take 2xx as a success.

            lapentafd lapentafd
            a.sreekumar a.sreekumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: