diff --git a/src/main/java/io/adven/grpc/wiremock/HttpMock.java b/src/main/java/io/adven/grpc/wiremock/HttpMock.java index 7fdbde9..e582f79 100644 --- a/src/main/java/io/adven/grpc/wiremock/HttpMock.java +++ b/src/main/java/io/adven/grpc/wiremock/HttpMock.java @@ -78,6 +78,7 @@ public void destroy() { public Response request(String path, Object message, Map headers) throws IOException, InterruptedException { headers.putAll(HEADERS.get()); + headers.remove("accept-encoding"); LOG.info("Grpc request {}:\nHeaders: {}\nMessage:\n{}", path, headers, message); return new Response( httpClient.send(