Remove host from auth header

This commit is contained in:
Kevin Fronczak
2020-07-11 14:39:45 +00:00
parent 77959d6d94
commit 45cb4028b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class Auth:
"""Return authorization header."""
if self.token is None:
return None
return {"Host": self.host, "TOKEN_AUTH": self.token}
return {"TOKEN_AUTH": self.token}
def create_session(self):
"""Create a session for blink communication."""
+1 -1
View File
@@ -4,7 +4,7 @@ import os
MAJOR_VERSION = 0
MINOR_VERSION = 16
PATCH_VERSION = "0-rc11"
PATCH_VERSION = "0-rc12"
__version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}"