diff --git a/asciinema/urllib_http_adapter.py b/asciinema/urllib_http_adapter.py index b3a06b0..0423e7e 100644 --- a/asciinema/urllib_http_adapter.py +++ b/asciinema/urllib_http_adapter.py @@ -68,7 +68,7 @@ class URLLibHttpAdapter: if password: auth = "%s:%s" % (username, password) encoded_auth = base64.encodestring(auth.encode('utf-8'))[:-1] - headers["Authorization"] = b"Basic %" + encoded_auth + headers["Authorization"] = b"Basic " + encoded_auth request = Request(url, data=body, headers=headers, method="POST")