Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for custom HTTP headers #90

Merged
merged 1 commit into from
May 20, 2020

Conversation

AkeemMcLennon
Copy link
Contributor

@jpillora This pull request adds support for custom http headers in the client request (beyond host). This can be useful for getting behind reverse proxies that require authentication headers for processing the request.

I also refactored the --hostname parameter to use the custom header logic and added a few unit tests for the new functionality.

The new tests can be run through go test ./...

@ariel-bentu
Copy link

This would be very helpful for me as well. hope you can expedite merging this PR. Thanks

@timkeeler
Copy link

This is great! Was just checking to see if a feature request was in for this. I have an authentication proxy (AWS ALB) in front of a chisel server and need to pass headers to allow the chisel traffic through.

@jpillora jpillora closed this in 68050d0 May 20, 2020
@jpillora jpillora merged commit 1427263 into jpillora:master May 20, 2020
@jpillora
Copy link
Owner

Merged, thanks @AkeemMcLennon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants