You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As evidenced by msgpack/msgpack#194, there still is no clear answer on the "proper" MIME type for msgpack. Fluent-bit's HTTP output plugin uses application/msgpack for the content-type instead of aapplication/x-msgpack, so the msgpack-asgi middleware doesn't attempt to unpack requests from fluent-bit POST's
The text was updated successfully, but these errors were encountered:
astephon88
changed the title
Supoort for Content-Type: application/msgpack header
Support for Content-Type: application/msgpack header
Aug 26, 2021
Just an update as I've done a bit more research...I still believe supporting both content types would be a useful improvement, but data coming from fluent-bit still will be problematic. The msgpack messages they are sending is list of a timestamp and a dict. The timestamp is a msgpack ExtType, so, barring some extra logic to only extract JSON compatible data (which probably would be out of place here), the fluent-bit messages would still fail to parse.
As evidenced by msgpack/msgpack#194, there still is no clear answer on the "proper" MIME type for msgpack. Fluent-bit's HTTP output plugin uses
application/msgpack
for thecontent-type
instead of aapplication/x-msgpack
, so the msgpack-asgi middleware doesn't attempt to unpack requests from fluent-bit POST'sThe text was updated successfully, but these errors were encountered: