-
Bug
-
Resolution: Fixed
-
Normal
-
None
-
None
/ws/2 requests generally support two ways of requesting JSON output: either fmt=json or setting the Accept header to application/json
However, setting Accept has no effect for search requests - XML is returned.
This seems to be down to the various xxx_search() methods not mapping the Accept header to a fmt value (could possible also be done by MusicBrainz::Server::ControllerBase::WS::2::_search()?).