_generate_token() only caught CommError's if they happened while trying Basic Authentication. Now it will catch them while trying Digest Authentication.
Clear auth token for any LoginError.
_command() was using a Session() for retry attempts. Don't do this anymore to make it more likely for retry to succeed. Also, for some as of yet unexplained reason using request.get() instead of session.get() seems to prevent intermittent snapshot failures.
Coverage increased (+0.002%) to 31.641% when pulling 9e0c89c206d1007a2268a3f31601bda2d80b0379 on fix-http-command into fdbb775be57f650d47801a2a3008125e979223b1 on master.
_generate_token() only caught CommError's if they happened while trying Basic Authentication. Now it will catch them while trying Digest Authentication.
Clear auth token for any LoginError.
_command() was using a Session() for retry attempts. Don't do this anymore to make it more likely for retry to succeed. Also, for some as of yet unexplained reason using request.get() instead of session.get() seems to prevent intermittent snapshot failures.