Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update response.send() to check HTTP status code length #1722

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 21, 2018

  1. Update response.send() to check HTTP status code length

    I updated line 300 which checks that the HTTP status code passed into the Response.send() function is of type "number" to also check that the length of the status code is equal to three since all HTTP status codes are three digits. This allows for the Response.send() function to send ordinary numbers of any length ( other than three ) as response if need be.
    Adimvicky committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    ed68c61 View commit details
    Browse the repository at this point in the history