Skip to content

Clarify WithProxy behavior with nil - #64

Merged
1 commit merged into
mainfrom
jchadwick/fix-withproxy-docs
Apr 19, 2024
Merged

1 commit merged into
mainfrom
jchadwick/fix-withproxy-docs

Conversation

@ghost

@ghost ghost commented Apr 19, 2024

Copy link
Copy Markdown

It looks like by accident the comment specifies that specifying a nil proxyFunc will both force no proxy at all and fallback to http.ProxyFromEnvironment. Only one of those things can be true, and it's the latter. Remove obsolete comment.

@ghost
ghost requested a review from jhump April 19, 2024 14:54
@ghost
ghost merged commit 0748894 into main Apr 19, 2024
@ghost
ghost deleted the jchadwick/fix-withproxy-docs branch April 19, 2024 14:55
This pull request was closed.
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.

1 participant