gerlowskija commented on PR #3262: URL: https://github.com/apache/solr/pull/3262#issuecomment-2743348019
> In SolrJ, assuming "V2", how might we compose an Accept header for multiple formats, and then on the receiving end, choose the right ResponseParser for the final format chosen by the server? Hmm... `SolrRequest` already has a ResponseParser getter/setter pair that is used by the clients to override the default parser on a per-request basis. Ditto for request-headers - `SolrRequest` has methods to set/get those as well. So it seems like we've got a lot of the puzzle pieces and plumbing already. The one thing that's missing I think is some sort of "CompoundResponseParser" - something that supports a number of content types via delegation and then chooses one at response-parsing time based on the "Content-type" header in the response. -- 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. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org