python-zeep
python-zeep copied to clipboard
fix: IndexError when empty body response
Issue
When there is no body element in the response, zeep is throwing an IndexError because there is eventually 0 xmlelement.
Changes Made
Added check for the not empty xmlelement in DocumentMessage._deserialize_body