Skip to content

Commit 6d680a2

Browse files
author
Mike Solomon
committed
Fixes headers
1 parent 7086a1f commit 6d680a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-ffi/Affjax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _toThreading():
2626
userAndPass = b64encode(b"username:password").decode("ascii")
2727
headers["Authorization"] = "Basic %s" % userAndPass
2828
if options["headers"]:
29-
for header in headers:
29+
for header in options["headers"]:
3030
headers[header["field"]] = header["value"]
3131
try:
3232
conn.request(

0 commit comments

Comments
 (0)