Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Http2SolrClient has some logic to get the list of content types supported by the response parser, parse those from String into ContentType objects to then get the mimeType of those and put them on a Set, to later check against the response content type.
In practice, most users of Http2SolrClient (including Solr itself) will be using javabin with the BinaryResponseParser, for which we know the exact mimeType that will accept. We could avoid the logic I've described above for cases where the response parser is the default one
Attachments
Attachments
Issue Links
- links to