Closed anthonydb closed 4 years ago
Passing authentication in via URL in the pattern https://user@example.com:user-password:www.documentcloud.org/api/search.json?q=test is no longer working with the Requests library, which throws the following error:
https://user@example.com:user-password:www.documentcloud.org/api/search.json?q=test
requests.exceptions.InvalidURL: Failed to parse:
Fixed via https://github.com/anthonydb/pneumatic/commit/a78a467fdf64ce798c49ab4184bb988fab413b92
Requests offers an easy solution -- passing credentials in via an auth argument.
auth
Passing authentication in via URL in the pattern
https://user@example.com:user-password:www.documentcloud.org/api/search.json?q=test
is no longer working with the Requests library, which throws the following error:requests.exceptions.InvalidURL: Failed to parse: