Skip to content
Myr

Fixed typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 0b2413d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/express/request.js+1 added-1 removed
190 unmodified lines
191 this.response.body = body192 var self= this;193 this.trigger('response', null, function (error) {194 if (typeof self.response.body != 'string') {callback( new InvalidResponseBody(self) ); return; }195 if (typeof self.response.status != 'number'){ calback( new InvalidStatusCode(self.response.status) ); return; }195 if (typeof self.response.status != 'number'){ callback( new InvalidStatusCode(self.response.status) ); return; }196 self.response.writeHeader(self.response.status, self.response.headers)197 self.response.write(self.response.body, encoding)198 self.response.close()199 });
95 unmodified lines