If a DecodedURL with a username/password in it is passed to a treq API, an error results about encoding a colon character (and the password is removed). (I can followup with the traceback but I don't have it immediately handy).
To make such a URL work, one can simply pass auth=url.userinfo to the treq reqeuest (and .replace(userinfo=()) to remove the username/password from URL) so it might be nice to have that as "a feature" in treq itself. That is, take out the userinfo from the DecodedURL and use it for authentication.
If a
DecodedURLwith a username/password in it is passed to a treq API, an error results about encoding a colon character (and the password is removed). (I can followup with the traceback but I don't have it immediately handy).To make such a URL work, one can simply pass
auth=url.userinfoto thetreqreqeuest (and.replace(userinfo=())to remove the username/password from URL) so it might be nice to have that as "a feature" intreqitself. That is, take out the userinfo from theDecodedURLand use it for authentication.