Cannot set MIME type for ResourceReader...
I just changed the impl for 2.2:
- MIME type declared on the reader instance
- MIME type declared for the reader component
- Ask the Reader for a MIME type. A *.doc reader could peek into the file
and return either text/plain or application/vnd.msword.
- MIME type declared in WEB-INF/web.xml or by the server.
The two last points have to be done by the reader itself, as the reader is the only component knowing the source. So this logic has to be implemented in the reader which I didn't change.
Does it make sense to have same in 2.1?
And more general question -- I see some commits flowing into 2.1 branch, should those changes be also reflected in 2.2? Or, how else those changes will get into 2.2?
Vadim
