diff --git a/cgi.d b/cgi.d index 2430db54..87554ca6 100644 --- a/cgi.d +++ b/cgi.d @@ -2417,7 +2417,7 @@ class Cgi { return; // don't double close if(!outputtedResponseData) - write("", false, false); + write("", true, false); // writing auto buffered data if(requestMethod != RequestMethod.HEAD && autoBuffer) {