diff --git a/lib/response.js b/lib/response.js index 96d22bf47..b36e57c8a 100644 --- a/lib/response.js +++ b/lib/response.js @@ -297,7 +297,7 @@ function patch(Response) { var self = this; var sendArgs; - if (typeof code === 'number') { + if (typeof code === 'number' && String(code).length === 3) { sendArgs = { code: code, body: body,