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

Get all headers 3992 #170

Closed
wants to merge 2 commits into from

Commits on Dec 21, 2014

  1. Add test for issue 3992

    Test a getAllHeaders function. It should return an object representing
    the headers in a request.
    iankronquist committed Dec 21, 2014
    Configuration menu
    Copy the full SHA
    b4a670a View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2015

  1. Add a getAllHeaders function to the http module

    Users should not have to access private attributes like res._headers in
    order to get all the headers in a request. Define a method getAllHeaders
    to return an object which is a copy of re._headers
    
    Fixes issue nodejs#3992
    iankronquist committed Jan 27, 2015
    Configuration menu
    Copy the full SHA
    427fd00 View commit details
    Browse the repository at this point in the history