mirror of
https://github.com/httpie/cli.git
synced 2025-08-14 16:38:47 +02:00
@ -211,7 +211,8 @@ class Parser(ArgumentParser):
|
||||
|
||||
elif url.username is not None:
|
||||
# Handle http://username:password@hostname/
|
||||
username, password = url.username, url.password
|
||||
username = url.username
|
||||
password = url.password or ''
|
||||
self.args.auth = AuthCredentials(
|
||||
key=username,
|
||||
value=password,
|
||||
|
Reference in New Issue
Block a user