Hacker News new | ask | show | jobs
by wonnage 1546 days ago
The header approach is easier to graft on to an existing system where the entire html document is generated in one go. Otherwise you have to deal with generating the response in chunks which can be nontrivial.