leave res.write up to the dev.