Skip to content

Cannot read property 'headers' of undefined #1542

@agarian-2

Description

@agarian-2

Alright, so I've run into an issue. I have a program that has been sitting for years, meaning WS hasn't been updated. Well today I updated it from 1.1.0 to the latest version, and I have an issue I can't fix (maybe it's just me being stupid, but I haven't seen other issues like this). Really all you need to do is try doing stuff with upgradeReq.headers to replicate this. Not much to say about it, other than upgradeReq.headers no longer works, and I kind of need it to. This is the code we're dealing with; granted, not the full function, but likely more than enough to work with.
Capture1

Again I apologize if there are other issues like this; I haven't seen any likewise to this.

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