Fix response handling with kwarg
This commit is contained in:
parent
ec4ddb506b
commit
d76210ef57
@ -1,5 +1,9 @@
|
|||||||
# xbotlib x.x.x (UNRELEASED)
|
# 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)
|
# xbotlib 0.14.0 (2021-01-19)
|
||||||
|
|
||||||
- Reduce generated config flow to only mandatory options
|
- Reduce generated config flow to only mandatory options
|
||||||
|
@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api"
|
|||||||
|
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "xbotlib"
|
name = "xbotlib"
|
||||||
version = "0.14.0"
|
version = "0.14.1"
|
||||||
description = "XMPP bots for humans"
|
description = "XMPP bots for humans"
|
||||||
authors = ["decentral1se <lukewm@riseup.net>"]
|
authors = ["decentral1se <lukewm@riseup.net>"]
|
||||||
maintainers = ["decentral1se <lukewm@riseup.net>"]
|
maintainers = ["decentral1se <lukewm@riseup.net>"]
|
||||||
|
@ -562,4 +562,4 @@ class Bot(ClientXMPP):
|
|||||||
|
|
||||||
def respond(self, response, content_type="text/html"):
|
def respond(self, response, content_type="text/html"):
|
||||||
"""Send this response back with the web server."""
|
"""Send this response back with the web server."""
|
||||||
return Response(response, content_type=content_type)
|
return Response(text=response, content_type=content_type)
|
||||||
|
Reference in New Issue
Block a user