Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f2c8fc3
commit b9d05bf
Showing
3 changed files
with
6 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b9d05bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The result of this commit seems to be that RestSharp is no longer using the globally configured default proxy when no proxy was explicitly set. Was that intended or is there another way to automatically fall back to the system wide proxy other than explicitly calling
restClient.Proxy = WebRequest.DefaultWebProxy;
every time a rest client is instantiated?b9d05bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue is that
WebRequest.DefaultWebProxy
does not work in .NET Core. At least we were getting not supported exception until this commit. If you can test it and submit a PR - I will be more than happy to take it in since we have an open issue #1043, which seems to be related but I am not sure how.