-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
Add new option to allow insecure connections and support calling HTTP URLs.
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.
Looks good!
private httpsKeepAliveAgent?: http.Agent; | ||
private httpsProxyAgent?: http.Agent; |
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.
should not those types come from https
?
private httpsKeepAliveAgent?: http.Agent; | |
private httpsProxyAgent?: http.Agent; | |
private httpsKeepAliveAgent?: https.Agent; | |
private httpsProxyAgent?: https.Agent; |
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.
Yep! Good eyes. 👍
Add new option to allow insecure connections and support calling HTTP URLs.
[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
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.