Exemple #1
0
    def _send_request(self, req):
        req_xml = six.b(constants.XML_HEADER) + ET.tostring(req)
        rsp_xml = self._conn.request(req_xml)

        result = parser.parse_xml_api(parser.xml_to_tupletree(rsp_xml))

        status, msg_info = self._verify_response(result)
        return status, msg_info, result