Skip to content

Commit

Permalink
Make comment more explicit re: GCP bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayjshah committed Feb 6, 2024
1 parent bd14c94 commit 95e6796
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion protocol_grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,10 @@ func grpcContentTypeFromCodecName(web bool, name string) string {
return grpcWebContentTypePrefix + name
}
if name == codecNameProto {
// for compatibility with some servers prefer an implicit default codec
// For compatibility with Google Cloud Platform's frontends, prefer an
// implicit default codec. See
// https://github.com/connectrpc/connect-go/pull/655#issuecomment-1915754523
// for details.
return grpcContentTypeDefault
}
return grpcContentTypePrefix + name
Expand Down

0 comments on commit 95e6796

Please sign in to comment.