pyexchange
pyexchange copied to clipboard
Added support for HTTP Basic Authentication
Not elegant – a fair few lines of duplicated code – but a more elegant solution would require some restructuring. This'll support HTTP Basic Authentication until such a restructuring is undertaken.
@konaya Thanks for that, was going nuts over 401 from office365.
I really needed this as well as my own PR so I merged your PR into my repo and revamped (removed repeated code):
Is it correct to assume that the only difference is to set the password_manager to Basic Auth instead of NTLM?
@matiboy Yeah, pretty much. I no longer have the ability to give it a try, but it looks good. Certainly better than mine :)