New submission from Shamal Faily <shamal.fa...@gmail.com>: If an XML document is externally validated against a DTD from a https site then, depending on the security posture of the hosting site, validation might fail. This seems to be due to the lack of user agent information received by the host when the request for the DTD is sent.
Relaxing the security rules on the host does get around this problem, but this might not always be a solution for some. I've observed with this issue with xml.sax. I don't know how general this problem is in other XML handling components of Python2 or Python 3. ---------- components: XML messages: 306952 nosy: failys priority: normal severity: normal status: open title: xml.sax parser validation sometimes fails when obtaining DTDs from https sites versions: Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com