[ 
https://issues.apache.org/jira/browse/NIFIREG-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Bende updated NIFIREG-344:
--------------------------------
    Fix Version/s:     (was: 0.7.0)

> ClientUtils reads "Content-Disposition" before checking status code
> -------------------------------------------------------------------
>
>                 Key: NIFIREG-344
>                 URL: https://issues.apache.org/jira/browse/NIFIREG-344
>             Project: NiFi Registry
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Bryan Bende
>            Assignee: Bryan Bende
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to