We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8f4d78 commit 6c7d222Copy full SHA for 6c7d222
tests/utils.py
@@ -3,7 +3,8 @@
3
4
def get_basic_auth_header(user, password):
5
"""
6
- Return a dict containg the correct headers to set to make HTTP Basic Auth request
+ Return a dict containing the correct headers to set to make HTTP Basic
7
+ Auth request
8
9
user_pass = "{0}:{1}".format(user, password)
10
auth_string = base64.b64encode(user_pass.encode("utf-8"))
0 commit comments