Please sign in to comment.
http: include provided status code in range error
ServerResponse#writeHead() coerces the user provided status code to a number and then performs a range check. If the check fails, a range error is thrown. The coerced status code is included in the error message. This commit uses the user provided status code instead. PR-URL: #11221 Reviewed-By: James M Snell <email@example.com>
- Loading branch information...
Showing with 13 additions and 11 deletions.