Skip to content

Conversation

@mathieu-aubin
Copy link

fixes [DEP0066: OutgoingMessage.prototype._headers, OutgoingMessage.prototype._headerNames](https://nodejs.org/api/deprecations.html#deprecations_dep0066_outgoingmessage_prototype_headers_outgoingmessage_prototype_headernames)

Hopefully
@jmealo
Copy link
Collaborator

jmealo commented Aug 26, 2019

@mathieu-aubin: Thank you for the PR. getHeaders() was added to OutgoingMessage in nodejs/node#10805. To support older versions of Node, we'll need to do something like this: this.getHeaders ? this.getHeaders() : this._headers (which hopefully should silence the runtime deprecation).

@jmealo jmealo self-assigned this Aug 26, 2019
@jmealo
Copy link
Collaborator

jmealo commented Sep 11, 2019

@mathieu-aubin: Since this code doesn't run and doesn't have tests I'm closing this. Thanks for reporting this issue. I'll credit you on the PR closing it.

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

Successfully merging this pull request may close these issues.

2 participants