Subhajitdas298 opened a new pull request #430:
URL: https://github.com/apache/tika/pull/430


   Added Resource comparator based to produce type.
   In an ambiguous call, request handler will be chosen based on the type of 
data it returns.
   
   *Current priority is set as:*
   MediaType.TEXT_PLAIN_TYPE,
   MediaType.APPLICATION_JSON_TYPE,
   MediaType.TEXT_HTML_TYPE,
   MediaType.TEXT_XML_TYPE
   *The lower in list (higher index value), the higher priority it has.*
   In case of no matching in this list, it will be treated as media type all.
   
   *Note: Please change priority list if some other order is more suitable.*
   
   This is kept at sync with branch_1x


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to