title: Is it possible to enable GRPC message compression in server? (Python)
body: <p>I have a gRPC client (in Java) sending requests to a server (written in Python). I need to enable both request compression and response compression. There is good <a href="https://github.com/grpc/grpc-java/issues/2204" rel="nofollow noreferrer">documentation</a> on how to enable compression on the client side. I have managed to compress the request like so:</p>
  
  <pre><code> response = blockingStub.withCompression("gzip").method(request)
  </code></pre>
  
  <p>However, I cannot find any documentation on how to compress the server response (also). It seems that there is almost no documentation (or examples) on how to use gRPC message compression in Python. How can I enable server-side compression? The call is a simple RPC call (no streaming).</p>