in reply to How to reuse a http::request object?
Note that $res contains references to $req. Changing $req will invalidate some aspects of $res