xmlrpc
xmlrpc copied to clipboard
Decoder doesn't check given value type if server responses with empty type tag.
In situation when server responses with empty type tag (
Do you have an idea on how to fix this? :8ball:
I actually met the case while playing with opensubtitles.org's API. Some of their API methods can return either arrays of <struct>, or plain <struct> replies : which mean some calls to the same function can be decoded in two different ways: this does not play very well with Go's type system I'm afraid. :confused: