[mythtv] [mythtv-commits] Ticket #11075: services API returns errors as XML no matter what you ask for

Daniel Thor Kristjansson danielk at cuymedia.net
Sat Jul 20 18:05:16 UTC 2013


On 07/20/2013 01:16 PM, Raymond Wagner wrote:
> On 7/20/2013 11:51 AM, George Nassas wrote:
>> I’d make a similar complaint about the wsdl service too - you get xml
>> regardless of what you ask for.
>
> WSDL is XML. It must be sent as XML.

Wouldn't returning a 415 Unsupported Media Type mean that the service
user doesn't need to be able to parse the reply? i.e. you can return
XML but the user doesn't need to be able to parse it because the
essential info is the 415 error code.

-- Daniel



More information about the mythtv-dev mailing list