GitHub user jfrazee opened a pull request:
https://github.com/apache/nifi/pull/273
Added source filename metadata to IdentifyMimeType, fixes NIFI-1617
Tika mime type Detector determines mime type on the basis of filename
extensions in some cases (e.g., CSV). This adds the FlowFile filename attribute
to the Detector Metadata if it's available.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jfrazee/nifi NIFI-1617
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/273.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #273
----
commit 2ece5d7943f63258bd3dd9abc62aa734392ecce0
Author: Joey Frazee <[email protected]>
Date: 2016-03-10T22:49:59Z
Added source filename metadata to IdentifyMimeType, fixes NIFI-1617
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---