mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 23:23:07 +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