mosquito / aiohttp-xmlrpc

XMLRPC for aiohttp
MIT License
34 stars 19 forks source link

Empty string values become the string literal "None" #44

Closed audoh-tickitto closed 3 years ago

audoh-tickitto commented 3 years ago

Example raw response:

<?xml version="1.0" encoding="ISO-8859-1"?>
<methodResponse>
  <params>
    <param>
      <value>
        <struct>
          <member>
            <name>foo</name>
            <value>
              <string/>
            </value>
          </member>
        </struct>
      </value>
    </param>
  </params>
</methodResponse>

Example output:

{'foo': 'None'}

Expected output:

{'foo': ''}
mosquito commented 3 years ago

Thank you for your contribution.