[Groonga-commit] groonga/gcs [master] Set content type of respnose for DefineIndexField

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2012年 6月 21日 (木) 16:30:07 JST


SHIMODA Hiroshi	2012-06-21 16:30:07 +0900 (Thu, 21 Jun 2012)

  New Revision: af0cabf4eb520efa208f37dd48200f51537e460b
  https://github.com/groonga/gcs/commit/af0cabf4eb520efa208f37dd48200f51537e460b

  Log:
    Set content type of respnose for DefineIndexField

  Modified files:
    lib/api/2011-02-01/configuration.js

  Modified: lib/api/2011-02-01/configuration.js (+1 -0)
===================================================================
--- lib/api/2011-02-01/configuration.js    2012-06-21 16:29:10 +0900 (e0931f4)
+++ lib/api/2011-02-01/configuration.js    2012-06-21 16:30:07 +0900 (af04073)
@@ -168,6 +168,7 @@ handlers.DefineIndexField = function(database, request, response) {
       return database.commandDeferred('column_create', termsOptions);
     })
     .next(function() {
+      response.contentType('application/xml');
       response.send(createDefineIndexFieldResponse({
         fieldName: field,
         fieldType: 'text',
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
ダウンロード 



Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る