Skip to content
Myr

Revert "fix infinite loop when res.send(status) is undefined. Closes #1623"

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

This reverts commit 28b8a3b5f72829fecdaea5f0d585654470337a9a.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 28b8a3b · Browse files · 1 file+0 added−4 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+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:lib/response.js-4 removed
91 unmodified lines
92 body = arguments[1];93 }94 }9596 if ('number' != typeof this.statusCode) {97 this.statusCode = 200;98 }9996 switch (typeof body) {97 // response status98 case 'number':99 this.get('Content-Type') || this.type('txt');
658 unmodified lines