Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeNA/PacketProxy
/ encodeBodyByGzip
Method
encodeBodyByGzip
src/main/java/core/packetproxy/http/Http.java:464–467 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
462
}
463
464
public
void
encodeBodyByGzip() throws Exception {
465
body = gzip(body);
466
header.update(
"Content-Encoding"
,
"gzip"
);
467
}
468
469
static
final
Pattern STATUS_LINE_PATTERN = Pattern.compile(
"([^ ]+) +([^ ]+) +([^ ]+)$"
);
470
Callers
nothing calls this directly
Calls
2
gzip
Method · 0.95
update
Method · 0.45
Tested by
no test coverage detected