MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / isGzipEncoded

Method isGzipEncoded

src/main/java/core/packetproxy/http/Http.java:460–462  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458 }
459
460 public boolean isGzipEncoded() {
461 return getOriginalHeader().getValue("Content-Encoding").orElse("").equalsIgnoreCase("gzip");
462 }
463
464 public void encodeBodyByGzip() throws Exception {
465 body = gzip(body);

Callers

nothing calls this directly

Calls 2

getOriginalHeaderMethod · 0.95
getValueMethod · 0.45

Tested by

no test coverage detected