mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
1 parent
0f96348fd1
commit
ca36f1de04
3 files changed
+21
-3
No files matched your search
+2
-1
@@ -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