mirror of
https://github.com/ziglang/zig.git
synced 2026-02-08 07:27:18 +00:00
Before this change, if a request errored before getting its `response.headers` initialized, then it would attempt to `deinit` `response.headers` which would still be `undefined`. Since all locations that set `response.headers` use the same code, it can just be done upfront in `request` instead. Closes #15380