diff --git a/CHANGELOG.md b/CHANGELOG.md index ba376d8..3ef1ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # xbotlib x.x.x (UNRELEASED) +# xbotlib 0.14.1 (2021-01-21) + +- Fix response handling for web serving + # xbotlib 0.14.0 (2021-01-19) - Reduce generated config flow to only mandatory options diff --git a/pyproject.toml b/pyproject.toml index c7e1e97..e1ba321 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "xbotlib" -version = "0.14.0" +version = "0.14.1" description = "XMPP bots for humans" authors = ["decentral1se "] maintainers = ["decentral1se "] diff --git a/xbotlib.py b/xbotlib.py index 2b42f70..b86e70d 100644 --- a/xbotlib.py +++ b/xbotlib.py @@ -562,4 +562,4 @@ class Bot(ClientXMPP): def respond(self, response, content_type="text/html"): """Send this response back with the web server.""" - return Response(response, content_type=content_type) + return Response(text=response, content_type=content_type)