We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02ea23a commit 495e8e7Copy full SHA for 495e8e7
slack_bolt/oauth/internals.py
@@ -35,7 +35,7 @@ def _build_callback_success_response( # type: ignore
35
status=200,
36
headers={
37
"Content-Type": "text/html; charset=utf-8",
38
- "Content-Length": len(html),
+ "Content-Length": len(bytes(html, "utf-8")),
39
"Set-Cookie": self._state_utils.build_set_cookie_for_deletion(),
40
},
41
body=html,
@@ -59,7 +59,7 @@ def _build_callback_failure_response( # type: ignore
59
status=status,
60
61
62
63
64
65
0 commit comments