Skip to content

Headers are not added #798

@punkpeye

Description

@punkpeye
const docker = new Docker({
  headers: {
    'x-token': '...',
  },
  host: '...',
  protocol: 'https',
});

I would expect that the headers are added to every request made by Docker.

However, the server does not receive the x-token header. This is all the server sees:

host: ...
upgrade: h2c
content-length: 0
x-docker-expose-session-uuid: 36ed41f2-b35b-4196-8231-61dfb6210337
x-docker-expose-session-name: testcontainers

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