I have a Nifi flow where a document file eg/pdf, doc etc is sent from a REST API to a Nifi ListenHTTP processor. The processor is configured to accept all headers. Here is my problem
Steps to reproduce:
- hello-world.pdf sent to ListenHttp processor
- inspect the queue and download the file
expected result:
The downloaded file should be named 'hello-world.pdf'
actual result: The downloaded file is named 'hello-world'
However, if I use a HandleHttpRequest processor followed by a HandleHttpResponse processor I get the expected result.
Does anybody know why the ListenHttp processor does not give me the expected result?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…