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

Removed logic breaking returning of JSON content #21

Closed
wants to merge 1 commit into from

Commits on Oct 3, 2014

  1. Removed logic breaking returning of JSON content

    There is no documentation for a send function in node's HTTP, so I assume its supposed to be Express response. 
    Anyway, I have never seen a call to `.send` with a response object passed in any documentation. On the other hand it breaks passing objects (intended as json responses) to the `.send` method if they have a field called body.
    naugtur committed Oct 3, 2014
    Configuration menu
    Copy the full SHA
    b1b4456 View commit details
    Browse the repository at this point in the history