[Groonga-commit] droonga/express-droonga at b00823d [master] Remove needless statusCode from request

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 22 14:48:36 JST 2014


Kouhei Sutou	2014-04-22 14:48:36 +0900 (Tue, 22 Apr 2014)

  New Revision: b00823dc5031be68dba21e8b206ff4b3b5c6bb54
  https://github.com/droonga/express-droonga/commit/b00823dc5031be68dba21e8b206ff4b3b5c6bb54

  Message:
    Remove needless statusCode from request

  Modified files:
    lib/droonga-protocol/connection.js
    test/test-utils.js

  Modified: lib/droonga-protocol/connection.js (+0 -1)
===================================================================
--- lib/droonga-protocol/connection.js    2014-04-21 20:05:29 +0900 (385d84e)
+++ lib/droonga-protocol/connection.js    2014-04-22 14:48:36 +0900 (ea05a81)
@@ -197,7 +197,6 @@ Connection.prototype.emitMessage = function(type, body, callback, options) {
     id:         id,
     from:       from,
     date:       getCurrentTime(),
-    statusCode: 200,
     dataset:    options.dataset || this.defaultDataset,
     type:       type,
     body:       body

  Modified: test/test-utils.js (+0 -1)
===================================================================
--- test/test-utils.js    2014-04-21 20:05:29 +0900 (32ac972)
+++ test/test-utils.js    2014-04-22 14:48:36 +0900 (39b0ac0)
@@ -321,7 +321,6 @@ function createEnvelope(type, body, options) {
     id:         now.getTime(),
     date:       now.toISOString(),
     from:       '127.0.0.1:' + testReceivePort + '/' + testTag,
-    statusCode: 200,
     dataset:    options.dataset || 'test-dataset',
     type:       type,
     body:       body
-------------- next part --------------
HTML����������������������������...
Download 



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