Skip to content

DeprecationWarning: OutgoingMessage.prototype._headers is deprecated #381

@x4080

Description

@x4080

Hi, I got this message when trying to use it ex :

var Xray = require('x-ray')
var x = Xray()
x('http://google.com', 'title')
    .then(function (res) {
        console.log(res)
    })
    .catch(function (err) {
        console.log(err) // handle error in promise
    })

output is

(node:9660) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
Google

Any tips how to fix it ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions