janhoy commented on code in PR #975: URL: https://github.com/apache/solr/pull/975#discussion_r959818403
########## solr/core/src/java/org/apache/solr/handler/admin/api/SchemaNameAPI.java: ########## @@ -46,7 +46,7 @@ public SchemaNameAPI(SolrCore solrCore) { } @GET - @Produces("application/json") + @Produces({"application/json", "application/xml", "application/javabin"}) Review Comment: My suggestion is based on the recommendation by IANA, see https://en.wikipedia.org/wiki/Media_type#Vendor_tree. Here are the apache specific `vnd` formats I could find at https://www.iana.org/assignments/media-types/media-types.xhtml: ``` application/vnd.apache.arrow.file application/vnd.apache.arrow.stream application/vnd.apache.thrift.binary application/vnd.apache.thrift.compact ``` So perhaps `application/vnd.apache.solr.javabin` is better. -- 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