GitHub user soenkeliebau opened a pull request:
https://github.com/apache/nifi/pull/242
NIFI-1539 - Add normalization of content type for content viewing
Pull request for
[NIFI-1539](https://issues.apache.org/jira/browse/NIFI-1539)
Add code to ContentViewerController to strip content type of any trailing
parameters and lowercase the type and subtype.
Added function to ViewableContent to enable retrieving the original value
of the content type if needed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/soenkeliebau/nifi NIFI-1539
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/242.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 #242
----
commit 10d8227f443a82bfd644936866c18297f0ffb9e4
Author: Sönke Liebau <[email protected]>
Date: 2016-02-22T07:25:42Z
NIFI-1539 - Add normalization of content type for content viewing
Add code to ContentViewerController to strip content type of any trailing
parameters and lowercase the type and subtype.
Added function to ViewableContent to enable retrieving the original value
of the content type if needed.
----
---
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.
---