don't mutate a response object after to_a
When the response object is `to_a`'d, that means it's been written to the socket. It doesn't make sense to mutate the response object after it's been written (and this may raise an exception in the future).
Showing
想要评论请 注册 或 登录