Paul Kelly created NIFI-8454:
--------------------------------

             Summary: 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


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)

Reply via email to