Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-Type rejected: `` #9018

Closed
metalfork opened this issue Jun 27, 2024 · 4 comments
Closed

Content-Type rejected: `` #9018

metalfork opened this issue Jun 27, 2024 · 4 comments
Labels

Comments

@metalfork
Copy link
Contributor

if (header->val.len == 16 &&
strncasecmp(header->val.data, "application/json", 16) == 0) {
type = HTTP_CONTENT_JSON;
}

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

@patrick-stephens
Copy link
Contributor

Can you submit a PR?

@metalfork
Copy link
Contributor Author

Can you submit a PR?

@patrick-stephens submitted #9023

Copy link
Contributor

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 github-actions bot added the Stale label Sep 27, 2024
Copy link
Contributor

github-actions bot commented Oct 3, 2024

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants