Partially revert "Issue 150: Fix discovered problems and update unit tests.". #152
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
relates to #150
This reverts parts of the commit from 822cb21 involving the mimetype.
Strange problems showed up that are unexpected and did not show up when this branch was deployed and tested.
Investigation shows that these problems already existed but the failure was obscured more.
This reverts puts back some of the original Mimetype code (identified during this WIP commit 822cb21).
A new issue will need to be created or an existing issue will need to be updated.
The behavior on production looks like this:
See (https://api.library.tamu.edu/iiif-service/fedora/presentation/a6/f0/55/01/a6f05501-9312-4fd5-a167-f7ce2fa28ca6/com_class_rosters_objects/10/pages/page_0/files/COMClass1989.jpg)
The error message on development is improved and looks like: