mirror of
https://github.com/go-gost/x.git
synced 2026-10-20 19:14:37 +00:00
The forwarded body keeps its original encoding; only the prefix shown to body matchers is decoded so BodyRegexp sees plaintext regardless of Content-Encoding. Best-effort: a truncated compressed stream yields whatever decoded so far, where leading JSON fields live.