I have a gRPC gateway that uses gzip compression.
Is there a way to test the gateway's endpoints using curl?
The enpoint being tested accepts GET requests and I've tried running:
curl -H "Content-Encoding: gzip" local host:8080/v1/alfa/get
but I get a "grpc: the client connection is closing", "code": 9.
Code 9 is FailedPrecondition.
Thanks for the help.
--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/dd3b5708-5217-45b2-9e31-d45b66283bed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the info.
I've fixed the problem. My server code was missing the ServerOptions "RPCCompressor" and "RPCDecompressor".
Thanks!