[Groonga-commit] groonga/groonga at 2a22f04 [master] Use "text/tab-separated-values" for tsv mime-type

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 23 21:55:12 JST 2015


Kouhei Sutou	2015-02-23 21:55:12 +0900 (Mon, 23 Feb 2015)

  New Revision: 2a22f04496551ccd67fa31354fd5cf06774fdb0c
  https://github.com/groonga/groonga/commit/2a22f04496551ccd67fa31354fd5cf06774fdb0c

  Message:
    Use "text/tab-separated-values" for tsv mime-type

  Modified files:
    lib/ctx.c

  Modified: lib/ctx.c (+1 -1)
===================================================================
--- lib/ctx.c    2015-02-23 18:17:51 +0900 (5408832)
+++ lib/ctx.c    2015-02-23 21:55:12 +0900 (4b19614)
@@ -1630,7 +1630,7 @@ get_content_mime_type(grn_ctx *ctx, const char *p, const char *pe)
         ctx->impl->mime_type = "text/plain";
       } else if (p + 3 == pe && !memcmp(p, "tsv", 3)) {
         ctx->impl->output_type = GRN_CONTENT_TSV;
-        ctx->impl->mime_type = "text/plain";
+        ctx->impl->mime_type = "text/tab-separated-values";
       }
       break;
     case 'x':
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index