grpc/grpc-java
View on GitHubVerify server sends grpc-accept-encoding appropriately
Open
#1,804 opened on May 6, 2016
help wanted
Repository metrics
- Stars
- (11,124 stars)
- PR merge metrics
- (Avg merge 23d 22h) (43 merged PRs in 30d)
Description
If the client sends a gzip-encoded request and the server responds with headers (endStream=false) that does not include grpc-accept-encoding gzip, then the client should warn. This is misbehavior on the server-side and would ideally be detected.
Although I said "warn" above, we're actually aware of servers failing to do this properly today. So initially we can use FINE and eventually swap it to warn.