You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by GitBox <gi...@apache.org> on 2021/04/22 04:24:16 UTC
[GitHub] [tika] Subhajitdas298 opened a new pull request #430: [TIKA-3357] Remove ambiguity in request handlers - main
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:
users@infra.apache.org
[GitHub] [tika] Subhajitdas298 commented on pull request #430: [TIKA-3357] Remove ambiguity in request handlers - main
Posted by GitBox <gi...@apache.org>.
Subhajitdas298 commented on pull request #430:
URL: https://github.com/apache/tika/pull/430#issuecomment-841399256
> @Subhajitdas298 I didn't get a chance to try yet. Does this PR address the annoying logging output we see when starting tika-server?
Hi, this does not affect any startup logs. This only deals with, choice of REST handler method. When multiple handlers are valid, say in case of "Accept: */*" header, this priority list will decide which one to choose.
--
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:
users@infra.apache.org
[GitHub] [tika] tballison merged pull request #430: [TIKA-3357] Remove ambiguity in request handlers - main
Posted by GitBox <gi...@apache.org>.
tballison merged pull request #430:
URL: https://github.com/apache/tika/pull/430
--
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:
users@infra.apache.org
[GitHub] [tika] lewismc commented on pull request #430: [TIKA-3357] Remove ambiguity in request handlers - main
Posted by GitBox <gi...@apache.org>.
lewismc commented on pull request #430:
URL: https://github.com/apache/tika/pull/430#issuecomment-841330165
@Subhajitdas298 I didn't get a chance to try yet. Does this PR address the annoying logging output we see when starting tika-server?
--
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:
users@infra.apache.org