fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

Content-Type rejected: ``

Open metalfork opened this issue 1 year ago • 2 comments

https://github.com/fluent/fluent-bit/blob/060418c51bea221f0f6a1992f44dbdee7845f490/plugins/in_http/http_prot.c#L526-L529

Can we update the conditional here to allow application/json;charset=utf-8 as the Content-Type? Currently the conditional just checks for application/json (length 16) so the encoding value causes a failure. See this in AWS Fargate at the moment with Serilog and the dotnet Http sink. Ref

metalfork avatar Jun 27 '24 14:06 metalfork

Can you submit a PR?

patrick-stephens avatar Jun 28 '24 09:06 patrick-stephens

Can you submit a PR?

@patrick-stephens submitted https://github.com/fluent/fluent-bit/pull/9023

metalfork avatar Jun 28 '24 15:06 metalfork

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

github-actions[bot] avatar Sep 27 '24 02:09 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Oct 03 '24 02:10 github-actions[bot]