Skip to content

extending options from a prototype #62

Description

@jonathanong

i currently have an issue when creating http.client() requests from an options object that is created from a constructor: petkaantonov/urlparser#5

https://github.com/iojs/io.js/blob/v0.12/lib/_http_client.js#L50

my solution would be options = Object.create(options || {}) or something, but i'm pretty sure someone's going to complain about performance or something...

what do you guys think?

Activity

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