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?
i currently have an issue when creating
http.client()requests from anoptionsobject that is created from a constructor: petkaantonov/urlparser#5https://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?