The library currently only supports Basic http authentication. Other mechanisms are in common use - especially Negotiate in enterprise settings, and browsers also support Digest auth.
IANA have a registry : https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
.. I don't know if all of these should be added to the library or just those supported directly by browsers.