about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xbonus/trans.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/bonus/trans.cgi b/bonus/trans.cgi
index 693dec2a..f9e25cca 100755
--- a/bonus/trans.cgi
+++ b/bonus/trans.cgi
@@ -21,8 +21,8 @@
 TEXT=$(printf '%s\n' "$QUERY_STRING" | "$CHA_LIBEXEC_DIR"/urldec)
 
 # Write a Content-Type HTTP header. The `trans' command outputs plain text,
-# so we use text/plain.
-printf 'Content-Type: text/plain\n'
+# but with ANSI escape codes, so we use text/x-ansi.
+printf 'Content-Type: text/x-ansi\n'
 
 # We must write a newline here, so Chawan knows that all headers have been
 # written and incoming data from now on belongs to the body.