mirror of
https://github.com/ziglang/zig.git
synced 2026-12-05 22:59:05 -05: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