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

[core-rest-pipeline] Add opt-in HTTP support #14316

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Conversation

xirzec
Copy link
Member

@xirzec xirzec commented Mar 16, 2021

Add new option to allow insecure connections and support calling HTTP URLs, including calling through proxies.

This also adds security checks in the browser version for parity.

Add new option to allow insecure connections and support calling HTTP URLs.
@xirzec xirzec added Client This issue points to a problem in the data-plane of the library. Azure.Core labels Mar 16, 2021
@xirzec xirzec self-assigned this Mar 16, 2021
@ramya-rao-a
Copy link
Contributor

cc @sarangan12, @deyaaeldeen, @joheredi

Copy link
Member

@deyaaeldeen deyaaeldeen left a comment

Choose a reason for hiding this comment

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

Looks good!

Comment on lines 69 to 70
private httpsKeepAliveAgent?: http.Agent;
private httpsProxyAgent?: http.Agent;
Copy link
Member

Choose a reason for hiding this comment

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

should not those types come from https?

Suggested change
private httpsKeepAliveAgent?: http.Agent;
private httpsProxyAgent?: http.Agent;
private httpsKeepAliveAgent?: https.Agent;
private httpsProxyAgent?: https.Agent;

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep! Good eyes. 👍

@xirzec xirzec merged commit 0ae8bf4 into Azure:master Mar 17, 2021
@xirzec xirzec deleted the letFolksHttp branch March 17, 2021 18:18
jay-most pushed a commit to jay-most/azure-sdk-for-js that referenced this pull request Apr 26, 2021
Add new option to allow insecure connections and support calling HTTP URLs.
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request May 21, 2021
[Hub Generated] Review request for Microsoft.Maps to add version preview/2021-07-01-preview (Azure#14316)

* Adds base for updating Microsoft.Maps from version stable/2021-02-01 to version 2021-07-01-preview

* Updates readme

* Updates API version in new specs and examples

* managed identities

* updates based on design review

* fixes for examples

* adding description

* updated example request responses
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Core Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants