Skip to content

extending options from a prototype #62

Closed
@jonathanong

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?

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