This commit is contained in:
yumoqing 2026-03-03 10:52:11 +08:00
parent ae45be8b45
commit 40f17cebd5

View File

@ -246,10 +246,13 @@ class WOAHandler:
<Nonce><![CDATA[{nonce}]]></Nonce>
</xml>
"""
debug(f'加密后的返回:{final_xml}')
return web.Response(text=final_xml, content_type='application/xml')
elif reply_xml:
debug(f'返回未加密:{reply_xml}')
return web.Response(text=reply_xml, content_type='application/xml')
else:
debug(f'仅通知,无信息返回')
return web.Response(text="success")
except Exception as e: