[ https://issues.apache.org/jira/browse/SOLR-17317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gerlowski reassigned SOLR-17317: -------------------------------------- Assignee: Jason Gerlowski > JAX-RS v2 APIs return XML when wt=json specified > ------------------------------------------------ > > Key: SOLR-17317 > URL: https://issues.apache.org/jira/browse/SOLR-17317 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: v2 API > Reporter: Jason Gerlowski > Assignee: Jason Gerlowski > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > A mailing list user recently pointed out that certain JAX-RS v2 APIs return > XML content when "wt=json" is specified! The cause is an embarrassing > oversight in "V2ApiUtils.getMediaTypeFromWtParam": a switch-case statement > there accidentally omits "json" from its list of supported "wt" values. > We should add the missing branch of the switch-case block, and validate that > v2 APIs now respond correctly when wt=json is specified. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org