Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8829

ClientUtils reads "Content-Disposition" before checking status code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • NiFi Registry
    • None

    Description

      The issue is that if the response something other than 200, the code still tries to get the Content-Disposition header which won't be there, and then throws IllegalStateException, but really there should have been a specific exception for things like a 404.

      Attachments

        Activity

          People

            bbende Bryan Bende
            bbende Bryan Bende
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: