From 4e761556522a54c6da5540f621c30c8902ba8e64 Mon Sep 17 00:00:00 2001 From: David Huynh Date: Wed, 24 Mar 2010 17:51:27 +0000 Subject: [PATCH] Use application/x-unknown when exporting TSV so that the browser just saves the result. This is good for large exports, which overload the browser if the browser tries to display them. git-svn-id: http://google-refine.googlecode.com/svn/trunk@353 7d457c2a-affb-35e4-300a-418c747d4874 --- src/main/java/com/metaweb/gridworks/exporters/TsvExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/metaweb/gridworks/exporters/TsvExporter.java b/src/main/java/com/metaweb/gridworks/exporters/TsvExporter.java index e8eee0afc..5c6149cdf 100644 --- a/src/main/java/com/metaweb/gridworks/exporters/TsvExporter.java +++ b/src/main/java/com/metaweb/gridworks/exporters/TsvExporter.java @@ -17,7 +17,7 @@ import com.metaweb.gridworks.model.Row; public class TsvExporter implements Exporter { public String getContentType() { - return "text/plain"; + return "application/x-unknown"; } public boolean takeWriter() {