Skip to content

add cli httpclient with support for proxy configuration #672

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

Merged
merged 9 commits into from
May 19, 2020
Merged

add cli httpclient with support for proxy configuration #672

merged 9 commits into from
May 19, 2020

Conversation

hdiniz
Copy link
Contributor

@hdiniz hdiniz commented Apr 23, 2020

Please check if the PR fulfills these requirements

  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • The PR follows our contributing guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce?
    A default HTTP client for the cli which handles proxy configuration and default HTTP headers (User-Agent)

  • What is the current behavior?
    HTTP calls in the cli that don't use the downloader are not using the proxy configuration or the user-agent header

  • What is the new behavior?
    All HTTP calls in the cli are proxy-enabled and submit the cli User-Agent

  • Does this PR introduce a breaking change?
    No

  • Other information:


See how to contribute

@CLAassistant
Copy link

CLAassistant commented Apr 23, 2020

CLA assistant check
All committers have signed the CLA.

@hdiniz hdiniz changed the title Hdiniz/add proxy setting to default http client add cli httpclient with support for proxy configuration Apr 23, 2020
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! 👍

@rsora rsora merged commit 2ad7fb3 into arduino:master May 19, 2020
@hdiniz hdiniz deleted the hdiniz/add-proxy-setting-to-default-http-client branch May 19, 2020 14:45
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.

4 participants