[
https://issues.apache.org/jira/browse/NIFIREG-344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated NIFIREG-344:
--------------------------------
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. (was: The client is looking for
capitalized "Content-Disposition", but the REST end-point produces
"content-disposition".)
> 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
> Fix For: 1.0.0
>
>
> 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)