Skip to content

http_proxy: remove ambiguity in connect headers configuration #782

@mmatczuk

Description

@mmatczuk

This is a small refactoring that would remove the ambiguity in Martian configuration.

Plan:

  • Wrap header modifier in a layer that checks the HTTP method, for CONNECT use proxyHeaders, otherwise use requestHeaders
  • Remove ConnectRequestModifier in HTTPProxyConfig, martian.Proxy and dialvia
  • Add ProxyConnectHeader in dialvia and set it in Martian

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions