Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
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.
Attachments
Issue Links
- links to