@azure/core-rest-pipeline
Advanced tools
Comparing version 1.1.0-alpha.20210617.1 to 1.1.0-alpha.20210623.4
@@ -38,3 +38,3 @@ # Release History | ||
- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. | ||
- Updated @azure/core-tracing to version `1.0.0-preview.11`. See [@azure/core-tracing CHANGELOG](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-tracing/CHANGELOG.md) for details about breaking changes with tracing. | ||
@@ -41,0 +41,0 @@ ## 1.0.2 (2021-03-25) |
@@ -64,2 +64,5 @@ // Copyright (c) Microsoft Corporation. | ||
async sendRequest(request, next) { | ||
if (!request.url.toLowerCase().startsWith("https://")) { | ||
throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs."); | ||
} | ||
await callbacks.authorizeRequest({ | ||
@@ -66,0 +69,0 @@ scopes: Array.isArray(scopes) ? scopes : [scopes], |
{ | ||
"name": "@azure/core-rest-pipeline", | ||
"version": "1.1.0-alpha.20210617.1", | ||
"version": "1.1.0-alpha.20210623.4", | ||
"description": "Isomorphic client library for making HTTP requests in node.js and browser.", | ||
@@ -82,3 +82,3 @@ "sdk-type": "client", | ||
}, | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/", | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/", | ||
"sideEffects": false, | ||
@@ -85,0 +85,0 @@ "prettier": "@azure/eslint-plugin-azure-sdk/prettier.json", |
@@ -88,3 +88,3 @@ # Azure Core HTTP client library for JavaScript (Experimental) | ||
Most policies only concern themselves with either the request or the response, but there are some exceptions such as the [LogPolicy](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-rest-pipeline/src/policies/logPolicy.ts) which logs information from each. | ||
Most policies only concern themselves with either the request or the response, but there are some exceptions such as the [LogPolicy](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/src/policies/logPolicy.ts) which logs information from each. | ||
@@ -153,4 +153,4 @@ ### Pipelines | ||
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/master/CONTRIBUTING.md) to learn more about how to build and test the code. | ||
If you'd like to contribute to this library, please read the [contributing guide](https://github.com/Azure/azure-sdk-for-js/blob/main/CONTRIBUTING.md) to learn more about how to build and test the code. | ||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcore%2Fcore-rest-pipeline%2FREADME.png) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
552303
5899