mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-28 17:20:20 +08:00
28afbea917
Non-streaming requests were forced to use `Accept-Encoding: identity`, preventing upstream response compression and increasing bandwidth usage. Now only streaming requests conservatively keep `identity` to avoid decompression errors on interrupted SSE streams. Non-streaming requests let reqwest auto-negotiate gzip and transparently decompress responses.