[
https://issues.apache.org/jira/browse/NIFI-8454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated NIFI-8454:
-----------------------------------
Fix Version/s: 1.14.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> InvokeHTTP does not report final URL after following redirects
> --------------------------------------------------------------
>
> Key: NIFI-8454
> URL: https://issues.apache.org/jira/browse/NIFI-8454
> Project: Apache NiFi
> Issue Type: Improvement
> Affects Versions: 1.13.2
> Reporter: Paul Kelly
> Assignee: Paul Kelly
> Priority: Minor
> Labels: InvokeHTTP
> Fix For: 1.14.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> If InvokeHTTP is set to follow redirects, there currently is no way to
> retrieve the final URL which was the ultimate target of any redirects that
> were followed.
> I propose adding a new attribute "invokehttp.response.url" to include the
> final URL when InvokeHTTP is set to follow redirects. The current attribute
> "invokehttp.request.url" contains the URL which was originally requested, and
> this new attribute will contain the URL that was ultimately retrieved.
> For example, if the URL "http://bitly.com/1sNZMwL" is retrieved,
> invokehttp.request.url will continue to contain "http://bitly.com/1sNZMwL"
> and invokehttp.response.url will contain
> "https://en.wikipedia.org/wiki/Bitly".
--
This message was sent by Atlassian Jira
(v8.3.4#803005)