Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Proxy Headers get lost here. #35

@mlattanzio

Description

@mlattanzio

var connectOptions = mergeOptions({}, self.proxyOptions, {

mergeOptions leaves the proxyOptions.headers behind and they don't get send to the proxy server.

An ugly example fix would be
Object.assign(connectOptions.headers, self.proxyOptions.headers)
on the following line

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