commit a0280ed8329a20f92a5ffd95ad58c6c30686610d
parent 00f21d66d5685bbd8b8b7bad733435f8796617d2
Author: phoebos <ben@bvnf.space>
Date: Tue, 7 Nov 2023 00:55:31 +0000
search: don't increase content-length with newline
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cgi-bin/search b/cgi-bin/search
@@ -115,7 +115,7 @@ puts "Status: $::status\r"
puts "Content-Type: text/html\r"
puts "Content-Length: [string length $document]\r"
puts "\r"
-puts $document
+puts -nonewline $document
flush stdout
close stdout
exit