null+****@clear*****
null+****@clear*****
2012年 6月 4日 (月) 16:08:47 JST
Ryo Onodera 2012-06-04 16:08:47 +0900 (Mon, 04 Jun 2012) New Revision: 34b533e699c328848b3f97eed6dcf0e9e66547f1 Log: Change content type to JSON Modified files: src/nginx-module/ngx_http_groonga_module.c Modified: src/nginx-module/ngx_http_groonga_module.c (+1 -1) =================================================================== --- src/nginx-module/ngx_http_groonga_module.c 2012-06-04 16:05:25 +0900 (35ac147) +++ src/nginx-module/ngx_http_groonga_module.c 2012-06-04 16:08:47 +0900 (d877159) @@ -46,7 +46,7 @@ static ngx_command_t ngx_http_groonga_commands[] = { ngx_null_command }; -static const char content_type[] = "text/html"; +static const char content_type[] = "application/json"; static void *ngx_http_groonga_create_loc_conf(ngx_conf_t *cf); static char *ngx_http_groonga_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child);