python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

fix: IndexError when empty body response

Open pruthvi145 opened this issue 3 years ago • 0 comments

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

pruthvi145 avatar Jan 03 '22 05:01 pruthvi145