Skip to content

[metadata] Allow non application/grpc content-type values#35824

Closed
yashykt wants to merge 2 commits intogrpc:masterfrom
yashykt:Fix33935
Closed

[metadata] Allow non application/grpc content-type values#35824
yashykt wants to merge 2 commits intogrpc:masterfrom
yashykt:Fix33935

Conversation

@yashykt
Copy link
Copy Markdown
Member

@yashykt yashykt commented Feb 6, 2024

Fixes #33935

The gRPC spec is not clear on how to handle headers where the "content-type" is not "application/grpc" or similar. We should be safe and not reject such headers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python/Core: Error parsing http status code - 401 converted to UNKNOWN: Stream removed

3 participants