ansible/changelogs/fragments/51824-slack-req-content-type.yaml
hansmi 76ab88c9f5 callbacks/slack: Explicitly set Content-Type header (#51824)
There are other chat systems with hook implementations more or less
compatible with Slack, such as Rocket.Chat. The latter requires the
Content-Type header to be set to "application/json" (the body is JSON).

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2019-02-12 12:47:33 -05:00

4 lines
155 B
YAML

minor_changes:
- >-
slack: Explicitly set Content-Type header to "application/json" for
improved compatibility with non-Slack chat systems