The only thing the ``retry_handler`` callable has is a plain body & HTTP status code AFAICT. That kind of exception isn't generated in ``_mexe``'s while loop. Agreed that more structure would be nice, but the alternative that provides that structure would be building XML parsing into this block of code.