mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-19 09:07:36 +08:00
The defer was placed after io.ReadAll, so if ReadAll returned an error the body would not be closed. Move the defer before the read. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>