Hi Team!

I am using gRPC-java on server side and gRPC-web on client. And I want to 
compress my response messages. 
In first case I send Metadata {'grpc-accept-encoding': 'gzip'} from client 
and call setCompressed("gzip") method on server side. But when I send 
compressed response my client fall with error 'Error in parsing response 
body'. And my response payload don't decompress with another gzip 
decompressors.
In second case I try to push header "Content-Encryption" with value "gzip" 
into response and set method setCompressor("gzip") on server-side. But I 
get "(failed)
net::ERR_CONTENT_DECODING_FAILED" on response status. 

How can I send compressed responses and proceed them on client?

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/9cbe4b55-7c27-4b44-9e8d-fdc9cfd1c4b0n%40googlegroups.com.

Reply via email to