Fixes #5044: Web response is optimized to flush early and use