[quote=“lolodomo, post:24, topic:177228”]With Windows Media Player and BubbleUPnP, the UPnP request systematically failed with the HTTP code 415. This error code means I am using a bad format ! Two possibilities:
1 - the XML sent is not standard. The XML model is defined by the variable UPNP_REQUEST in L_Sonos1.lua. I see nothing choking.
2 - the content type is not right. In L_Sonos1.lua, it is set by default to “application/x-www-form-urlencoded”. I tried with “application/xml” and “text/xml” with no success. What value has to be used ?[/quote]
SOLVED.
I got my answer checking futzle’s code in WeMo plugin. She uses text/xml; charset=“utf-8” as content type and bingo it works with Windows Media Player and XBMC. I will check with Sonos and BubbleUPnP too and if it works, I will set this content type as new default in L_Sonos1.lua.
Edit: and it is what is defined by the standard.