Skip to content

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

Description

@stephen-bartell

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)

Activity

  1. bnoordhuis commented on Jan 15, 2015

    @bnoordhuis
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions