lib/connect-injector.js
function(status, reasonPhrase, headers) {
        var self = this;

        each(headers || reasonPhrase, function(value, name) {
          self.setHeader(name, value);
        });

        return this._super(status, typeof reasonPhrase === 'string' ? reasonPhrase : undefined);
      }
function(status, reasonPhrase, headers) {
        var self = this;

        each(headers || reasonPhrase, function(value, name) {
          self.setHeader(name, value);
        });

        return this._super(status, typeof reasonPhrase === 'string' ? reasonPhrase : undefined);
      }
function ( status , reasonPhrase , headers ) { var self = this ; each ( headers || reasonPhrase , function ( value , name ) { self . setHeader ( name , value ) ; } ) ; return this . _super ( status , typeof reasonPhrase === 'string' ? reasonPhrase : undefined ) ; }
Overwrite writeHead since it can also set the headers and we need to override the transfer-encoding
Overwrite writeHead since it can also set the headers and we need to override the transfer - encoding