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

response.setHeader (iojs 1.0.1) != response.setHeader (node 11.14) #450

Closed
stephen-bartell opened this issue Jan 15, 2015 · 1 comment
Closed

Comments

@stephen-bartell
Copy link

when running on node 11.14, value: undefined is allowed. not so in io 1.0.1.

response.setHeader('location', undefined)

throws:

Error: "name" and "value" are required for setHeader().
    at ServerResponse.OutgoingMessage.setHeader (_http_outgoing.js:314:11)
@bnoordhuis
Copy link
Member

That's nodejs/node-v0.x-archive@979d0ca8 but that change hasn't made its way into a release yet. I've been given to understand that v0.11.15 will be released "any day now."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants