Skip to content
Snippets Groups Projects
Commit f83eee06 authored by gmantele's avatar gmantele
Browse files

[TAP] Fix TSV (Tab-Separated-Values) MIME type.

parent d76367fd
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ import adql.db.DBColumn; ...@@ -35,7 +35,7 @@ import adql.db.DBColumn;
* Format any given query (table) result into CSV or TSV (or with custom separator). * Format any given query (table) result into CSV or TSV (or with custom separator).
* *
* @author Grégory Mantelet (CDS;ARI) * @author Grégory Mantelet (CDS;ARI)
* @version 2.0 (09/2014) * @version 2.0 (10/2014)
*/ */
public class SVFormat implements OutputFormat { public class SVFormat implements OutputFormat {
...@@ -124,7 +124,7 @@ public class SVFormat implements OutputFormat { ...@@ -124,7 +124,7 @@ public class SVFormat implements OutputFormat {
case SEMI_COLON_SEPARATOR: case SEMI_COLON_SEPARATOR:
return "text/csv"; return "text/csv";
case TAB_SEPARATOR: case TAB_SEPARATOR:
return "text/tsv"; return "text/tab-separated-values";
default: default:
return "text/plain"; return "text/plain";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment