Skip to content

Allow HTTP_PROXY settings to use username and password - #16

Closed
winstonwolff wants to merge 1 commit into
rubyjedi:masterfrom
nitidbit:http-proxy-gets-user-and-password
Closed

Allow HTTP_PROXY settings to use username and password#16
winstonwolff wants to merge 1 commit into
rubyjedi:masterfrom
nitidbit:http-proxy-gets-user-and-password

Conversation

@winstonwolff

Copy link
Copy Markdown
Contributor

I am using an http proxy service (FIXIE) on Heroku that requires a username and password. I've added 4 lines that will pass along the username and password from the HTTP_PROXY environment variable. Formerly just the hostname and port were used.

Would you like to merge this into your master?

@rubyjedi

Copy link
Copy Markdown
Owner

Hi, thanks for the PR contribution.

I'm not sure what's going on with Travis CI at the moment to suggest it's broken (your patch looks perfectly fine). Let me hammer on Travis configs a bit, and once I have it sorted out, I'll pull this into master. Thanks!

rubyjedi added a commit to marek-veber/soap4r that referenced this pull request Jul 9, 2026
Prep for an upcoming release covering the xsd:group-as-direct-content
fix (PR rubyjedi#19). Holding off on tagging/releasing until the other pending
PR (rubyjedi#16, proxy auth) is also reviewed and merged.
@rubyjedi

Copy link
Copy Markdown
Owner

Superseded by #31 -- your source fork (nitidbit/soap4r) has since been deleted, so I couldn't update or merge this PR directly. I cherry-picked your original commit onto a fresh branch off current master (authorship fully preserved -- see the commit in #31), and added a regression test for it (test/soap/test_nethttpclient.rb, since nothing previously exercised this file at all). Thanks for the fix, @winstonwolff -- sorry it took this long to land!

@rubyjedi rubyjedi closed this Jul 10, 2026
rubyjedi added a commit that referenced this pull request Jul 10, 2026
Adds HTTP_PROXY username/password support to the Net::HTTP fallback driver, superseding #16 (source fork deleted). Full credit to @winstonwolff for the original fix; cherry-picked with authorship preserved, plus a new regression test (test/soap/test_nethttpclient.rb) since this file previously had zero test coverage.
rubyjedi added a commit that referenced this pull request Jul 15, 2026
Prep for an upcoming release covering the xsd:group-as-direct-content
fix (PR #19). Holding off on tagging/releasing until the other pending
PR (#16, proxy auth) is also reviewed and merged.
rubyjedi added a commit that referenced this pull request Jul 15, 2026
Adds HTTP_PROXY username/password support to the Net::HTTP fallback driver, superseding #16 (source fork deleted). Full credit to @winstonwolff for the original fix; cherry-picked with authorship preserved, plus a new regression test (test/soap/test_nethttpclient.rb) since this file previously had zero test coverage.
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.

2 participants