Files
grok2api/backend/internal
li c929ad0788 fix: clone fhttp response headers to prevent mutation aliasing
fromFHTTPResponse returned Header and Trailer maps that aliased the
original fhttp.Response maps. Downstream consumers (e.g. console
adapter calling Header.Del) mutated the shared maps, corrupting the
fhttp response state. Clone all shared data structures (Header,
Trailer, TransferEncoding) to isolate the two responses.
2026-07-14 21:05:45 +08:00
..