NIFI-5258 - Changed addHeader to setHeader which stops X-Frame-Option… #2791
…s being added twice to responses. Added unit test.
Thank you for submitting a contribution to Apache NiFi.
In order to streamline the review of the contribution we ask you
For all changes:
For code changes:
For documentation related changes:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
I verified this in both default and secured modes against a URL that previously returned the double header value: