This overrides the post method so that routing_key is always included when making Events API calls.
This fixes a regression in the use case of calling EventsAPISession.post directly w/o explicitly including a routing key in the event body, which was possible before version 4.1.3 (when the X-Routing-Key header was sent with the request).
This overrides the
post
method so thatrouting_key
is always included when making Events API calls.This fixes a regression in the use case of calling
EventsAPISession.post
directly w/o explicitly including a routing key in the event body, which was possible before version 4.1.3 (when theX-Routing-Key
header was sent with the request).