v0.37.1
- Defer
body.closeinwrite_chunked_body,write_fixed_length_body, andwrite_body_and_closeuntil after the response is fully written and flushed. Previously,body.eachcalledclosein itsensureblock before the terminal chunk (chunked encoding) or final flush was written, causingrack.response_finishedcallbacks to delay the client-visible response completion.