versionone/VersionOne.SDK.Python — pull request #19 by folti (2014-12-09 10:27:59+00:00)
Title: get_xml 5XX error handling and debugging for net traffic

Hi,

Due to an error with our V1 server, I ran into the problem that get_xml() trying to parse the HTML page returned by the server when V1 caused an 500 Internal Error, which led to another
exception in ElementTree. The first patch fixes this, by handling 5XX HTTP responses separately.

The second patch adds debug logging to the fetch method, so we can see the low level conversation between the server and the client, if logging module's loglevel is high enough.