Compare commits

..

No commits in common. "master" and "1.1.0" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View file

@ -66,9 +66,9 @@ class Client:
"Content-Type": "application/json" "Content-Type": "application/json"
} }
# Append Authorization header if API key is provided # Append Authentication header if API key is provided
if (self._key): if (self._key):
headers["Authorization"] = f"Bearer {self._key}" headers["Authentication"] = f"Bearer {self._key}"
return headers return headers

View file

@ -1,3 +1,2 @@
# the "install_requires" array should also be updated when changing this # the "install_requires" array should also be updated when changing this
validators validators
requests

View file

@ -2,12 +2,12 @@ from setuptools import setup, find_packages
setup( setup(
name = "reflect-client", name = "reflect-client",
version = "1.1.2", version = "1.0.1",
description = "Python library for communicating with an API built with Reflect over HTTP or UNIX sockets", description = "Python library for communicating with an API built with Reflect over HTTP or UNIX sockets",
author = "Victor Westerlund", author = "Victor Westerlund",
author_email = "victor.vesterlund@gmail.com", author_email = "victor.vesterlund@gmail.com",
url = "https://github.com/victorwesterlund/reflect-client-python", url = "https://github.com/victorwesterlund/reflect-client-python",
packages = ["reflect_client"], packages = ["reflect_client"],
# The requirement.txt file should also be updated when changing this # The requirement.txt file should also be updated when changing this
install_requires = ["validators", "requests"] install_requires = ["validators"]
) )