Skip to content

Commit

Permalink
v0.5.1 (#5)
Browse files Browse the repository at this point in the history
* Ensure correct request Content-Type

* Bump version to 0.5.1
  • Loading branch information
marthoc authored Mar 30, 2019
1 parent 109172b commit b2407de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pykuna/kuna.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ async def _request(
from asyncio import TimeoutError

url = "{}/{}/".format(API_URL, path)
headers = {"User-Agent": USER_AGENT}
headers = {"User-Agent": USER_AGENT, "Content-Type": "application/json"}

if self._token:
headers["Authorization"] = "Token {}".format(self._token)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setuptools.setup(
name="pykuna",
version="0.5.0",
version="0.5.1",
author="Mark Coombes",
author_email="[email protected]",
description="Python3 library for interacting with the Kuna camera mobile API",
Expand Down

0 comments on commit b2407de

Please sign in to comment.